Chris Wedgwood wrote:

> On Sat, Jun 30, 2001 at 05:03:16AM +0200, Ragnar Kj?rstad wrote:
>
> > If the partition used to hold a different filesystem, you should try to
> > run fsck on it, to see what can be recovered. Taking a backup first
> > could be wise. (a backup of the device)
>
> If it was a reiserfs partition, then you could try --rebuild-tree with
> reiserfsck.
>
> No idea if that works....
>
> <pause>
>
> No, I just tried it and it doesn't :(
>

-S could help. It would make reiserfsck to look for reiserfs metadata over
all the device. Without it reiserfsck only looked into blocks marked used in
on-disk bitmap which does not show used too much after mkreiserfs.


If the device mkreiserfs-ed accidentally contained ext2 filesystem -
mkreiserfs only has overwritten first 8212 4k blocks and bitmap blocks:
32768, 65636, etc.

So, e2fsck should be able to recover a lot of things if you will point to
use an alternative superblock.

Thanks,
vs


Reply via email to