Re: ext3 recovery

Andreas Dilger (adilger@clusterfs.com)
Wed, 13 Nov 2002 11:42:46 -0700


On Nov 13, 2002 19:13 +0200, Andrei Ivanov wrote:
> Hello, I have an ext3 formated partition on a harddrive that just got tons
> of badblocks and I'm trying to recover as much data as possible from that
> partition.
> If I try e2fsck /dev/hdb3 I get this error:
>
> e2fsck 1.32 (09-Nov-2002)
> Group descriptors look bad... trying backup blocks...
> e2fsck: Invalid argument while checking ext3 journal for /
>
> So I tried to remove the journal and make e2fsck treat the partition as an
> ext2 one, but no luck, although tune2fs -O ^has_journal /dev/hdb3 doesn't
> give me any message, except it's version string.
>
> If I pass fsck the backup superblock myself, it still refuses to run:
> e2fsck -b 32768 /dev/hdb3
> e2fsck: Invalid argument while checking ext3 journal for /
>
> Attached you will find some info (dmesg and hdparm). If you need any more
> info, tell me.

I would suggest "dd if=bad_drive of=good_drive conv=sync,noerror"
and then do all of your recovery on the good drive.

Cheers, Andreas

--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

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