Re: Recovering from ext2 corruption on an ide drive

From: Andre Hedrick (andre@suse.com)
Date: Thu Jan 20 2000 - 03:41:06 EST


John,

Before you do what Ted is suggesting, how and what caused this?
What is the hardware combination?
This is extremely important to know if you timing problems.
Failure to correct a timing issue will damage it more.

On Thu, 20 Jan 2000 tytso@MIT.EDU wrote:

> Date: Wed, 19 Jan 2000 01:43:55 -0600 (CST)
> From: John <john@data-source.com>
>
> I have some more information regarding this ide filesystem corruption.
> I did not make one point very clear in my first email:
>
> I ran "e2fsck -vyf" only on hda1 and only one time. The other two
> partitions, hda2 and hda5 have not been written to at all.
>
> I have tried all kinds of things to access my data today. I was able to
> set up the old system board that I thought had died and was able to get it
> to boot. I ran an 'e2fsck -vnf' on the partitions, and all three were
> corrupted, with hda1 being the most messed up.
>
> Are you sure that you didn't get your partition table smashed? If
> e2fsck isn't given the proper filesystem boundaries, it's not going to
> do anything useful. That would explain why your hda5 partition is
> smashed:
>
> e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> e2fsck: Bad magic number in super-block while trying to open /dev/hda5
>
> The superblock could not be read or does not describe a correct ext2
> filesystem. If the device is valid and it really contains an ext2
> filesystem (and not swap or ufs or something else), then the superblock
> is corrupt, and you might try running e2fsck with an alternate superblock:
> e2fsck -b 8193 <device>
>
>
> - Ted
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
The Linux IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:22 EST