Recovering data from an ext3 filesystem on a bad disk



Hello,

I need some help with recovering as much data as possible from an ext3
partition on a bad disk.

It's a 160GB IDE harddrive that has a single ext3 partition spanning
the entire disk. Out of hardware failure (bad blocks), some sectors on
the disk have become unreadable. Attempting to read them with dd or
fsck leads to many kernel messages such as:

hdb: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest
Error }
hdb: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=81, high=0,
low=81, sector=81
ide: failed opcode was: unknown
hdb: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest
Error }
hdb: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=81,
high=0, low=81, sector=81
ide: failed opcode was: unknown
end_request: I/O error, dev hdb, sector 81
Buffer I/O error on device hdb1, logical block 9

I tried using a superblock backup (-b 32768), but then fsck fails
because of a short read while reading the journal. Presumably, parts of
the journal have also become damaged.

What are your recommendations? How can I extract as much of the
original data as possible? There were a couple of large tar.bz2 files
(backups) and another 1000 small-ish files or so in a directory
structure, in all about 50GB worth of data.

Thanks for your help!

Catalin

.



Relevant Pages

  • Re: Transfering from SCSI to IDE ?
    ... Transferring was successful but when system on new IDE disk ... > me to mount root and a mount> prompt appeared. ... you need to manually mount the / partition and edit the ...
    (freebsd-questions)
  • Re: DD not working
    ... dd'ing the partition would take this setting over to the new drive. ... Wouldn't you lose 10 GB and the disk would appear to be a 20 GB disk also with dd? ... It was a sata drive and the other drive was an IDE so I had other issues with the attempt. ... Someone more familiar with rsync and the effects of /proc, /sys and other not truly directories might be able to answer to whether rsync would work when transferred to IDE to IDE. ...
    (Fedora)
  • Re: DD not working
    ... dd'ing the partition would take this setting over to the new drive. ... Wouldn't you lose 10 GB and the disk would appear to be a 20 GB disk also with dd? ... It was a sata drive and the other drive was an IDE so I had other issues with the attempt. ... Someone more familiar with rsync and the effects of /proc, /sys and other not truly directories might be able to answer to whether rsync would work when transferred to IDE to IDE. ...
    (Fedora)
  • Swap Partition in F8 & Drive Partitioning
    ... I used the following command in a terminal to clone the ide ... When I use fdisk: ... The number of cylinders for this disk is set to 30401. ... it into a partition but I'm at a loss to know what type of partition ...
    (Fedora)
  • Re: journal aborted, system read-only
    ... > I've moved my /var to its own partition on another disk, ... I've just experienced a very similar situation: I/O error, journal abort, ... do you have some clipping jumper set on this disk so you depend on the ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)