Crashed filesystem - directory recovery

Andreas Dilger
2004-02-22T01:56:50Z

On Feb 21, 2004  19:53 -0500, Luigi Fabio wrote:
> I had an ext3 filesystem mounted as the root of a Linux MOO server.
> Unfortunately, the filesystem was on one of the infamous DTLA-3070xx
> drives - and the drive decided to fail at the worst moment it
> possibly could, trashing the filesystem fairly well.
> The situation is as follows: I used dd_rescue to create an image of
> what is left of the filesystem, but I ended up with some 65MB of
> 'holes' in the image. Among the 'holes' is the sector that
hosts a
> directory, /home/weyrmount/MOO (indeed, on the original drive, trying
> to CD into that gives IO Error)
> That directory contained three files, plus an 'arch' directory.
Now,
> while I understand that recovering the MOO dir itself is unrealistic,
> is there any way I could recover the arch dir - and the files
> therein? Any help will be greatly appreciated.

If you run e2fsck on the copied device, you should find any unattached
items put into lost+found.  Of course, it is also possible that files
in "arch" are also corrupted, depedning on location of 65MB of holes.

Cheers, Andreas
--
Andreas Dilger