2002-11-13 17:07:36

by Andrei Ivanov

[permalink] [raw]
Subject: ext3 recovery


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.

Please advise, what can I do now ?
Thank you


Attachments:
dmesg.log (7.32 kB)
dmesg.log
hdparm.log (1.70 kB)
hdparm.log
Download all attachments

2002-11-13 18:38:18

by Andreas Dilger

[permalink] [raw]
Subject: Re: ext3 recovery

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/

2002-11-15 23:39:51

by Andrei Ivanov

[permalink] [raw]
Subject: Re: ext3 recovery




>
> 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/

I've finally managed to get a hard drive to do this, but I receive the
same errors... :(

Do you have any other suggestions ?
Thanks