Re: ext2fs disaster - how to recover some files ?

From: tytso@trampoline.thunk.org
Date: Wed Nov 01 2000 - 06:52:21 EST


On Wed, Oct 25, 2000 at 06:41:57PM -0600, Andreas Dilger wrote:
> Since you have a filesystem > 500MB it will default to having 4kB blocks,
> and the backup superblocks will be aligned on 32768 block boundaries.
> Try "e2fsck -B 4096 -b 32768" (or 98304, 163840, 229376, 81920) to see
> if that works. I think I will submit a patch to Ted which offers more
> suggestions than 8193 for backup blocks, since not too many people know
> where the backups are located on more recent filesystems since they
> will normally have 4kB blocks these days.

This is a known bug; it's fixed (incorrectly) in 1.19, and will be
fixed in 1.20.

You don't have to specify -B 4096. "e2fsck -b 32768" is sufficient,
as e2fsck will automatically figure out the proper blocksize.

                                                        - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:09 EST