disk recovery help

Tim Kientzle kientzle at freebsd.org
Sat Jul 24 05:55:17 PDT 2004


Charles Sprickman wrote:
> 
> ...  there seem to be a ton of superblock backups.
> How do I find out where they are and compare them?

This is an FAQ, and probably in the handbook somewhere
(google for "alternate superblock"):

   * According to "man fsck_ffs", block 32 is usually
     an alternate superblock.

   * You can also use newfs -N to find out where
     the superblocks are probably located and
     fsck_ffs -b to recheck the drive using
     one of the alternates instead of the trashed
     primary.

   * 40G IDE drives are cheap and plenty big enough
     to give you a sandbox for trying to recover
     your 26G filesystem image.

Someone else mentioned "fsdb."  I've never used
it myself, but it looks like it might be useful to you.

Tim



More information about the freebsd-hackers mailing list