2000-11-01 11:52:59

by tytso

[permalink] [raw]
Subject: Re: ext2fs disaster - how to recover some files ?

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