Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 1997 17:38:58 -0400
From:      Brian Campbell <brianc@pobox.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   fs recovery
Message-ID:  <19970619173858.39930@pobox.com>

next in thread | raw e-mail | index | archive | help
What's the normal sequence of steps to recover from a corrupted
filesystem?

It appears the first 64-inodes are "screwy" (according to fsdb).
After that, things look reasonable.

I used fsdb to look at the first 150k inodes and found an expected
mixture of directories and inodes.  Is there an easy way to recreate
my root directory and link some of these directories (presumably
the ones whose parent was inode 2?  how do I find that out?) into
the root?

Or, failing that ... I have a backup from about a week ago.  Is
there a tool to scan what's left of the filesystem for anything
more recent?

Help!  ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970619173858.39930>