> From: Beni Cherniavsky [mailto:[EMAIL PROTECTED]

> Yesterday my linux hang so that I had to reset it, then fsck failed
> and hang and then the partiotion table got broken :-(.  It seems that
> there is a physical problem with the drive, it's giving "short read
> error"s.  Couldn't find any better area to fail than around the boot
> record of the second partion?!?  Now the rest of the locigal
> partitions linked list is inaccessible...

I highly sympathize.

> I've STFWed, I'm now using gpart to recover the other partions and
> I'll try to copy it to a new disk and proceed with recovery there...
> I just wonder what does "short read" mean - what kind of hardware
> failure gives that?  In most errors it says that read returned
> 4[56]??? bytes out of 66??? requested (I don't remember the exact
> numbers).

>From what I gather, the read() function for the device usually returns the number of 
>bytes read. This number is then compared with the number of bytes that were 
>requested. If the numbers mismatch - i.e. read() returns less bytes than it requested 
>- it's a "short read".

I haven't actually searched the sources.

-- Arik
**********************************************************************
This email and attachments have been scanned for
potential proprietary or sensitive information leakage. 
Vidius, Inc. Protecting Your Information from the Inside Out. 
www.vidius.com
**********************************************************************

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to