dynamic inode allocation

Theodore Tso tytso at mit.edu
Mon Sep 1 20:39:13 UTC 2008


On Mon, Sep 01, 2008 at 04:29:06PM -0400, Mag Gam wrote:
> 
> So, if a reiserFs filesystem is damaged and it naturally do a fsck.
> The fsck basically recreated the b-tree by scanning from 1 to end of
> the filesystem?

If the filesystem is sufficiently damaged such that portions of the
b-tree can't be found, then yes.  Otherwise, the data would be totally
lost.  As you can imagine, scaning every single block on the disk to
see if it looks like filesystem metadata is quite slow, so naturally
the reiserfs's fsck will avoid doing it if at all possible.  But if
the root or top-level nodes of the B-tree is damaged, it doesn't have
much choice.

						- Ted




More information about the Ext3-users mailing list