Well, using e2fsck could not work since the primary superblock is
damaged hand hence not writable. Instead, debugfs came to my rescue.
It allows to enter the blocksize and the superblock to be used for
filesystem to debug, and one can enter an interactive session or let run
a script. Phantastic!
U
OK, the problem is solved. If ever you happen to be in the same situation
and have to recover data from a partition with damaged primary superblock,
you can try the following. We use an example where the failing
partition is /dev/hda4 with block size 4kb and an intact backup superblock
at block 32
after the crash,
but there
/mnt# e2fsck -ckv -b 8193 /dev/hda1
solved the problem (the blocks are of 1k-size).
Is there a way to recover the data, since they turned out not to be so
unimportant after all? Any help would be appreciated, thanks in advance.
Greetings
Martin Schmid
--
To UNSUBS
3 matches
Mail list logo