recover superblock

Bruce Evans bde at zeta.org.au
Sun Aug 24 23:12:48 PDT 2003


On Mon, 25 Aug 2003, Thomas Gutzler wrote:

> Problem solved.
>
> I could restore the superblock using:
> dd if=<disk> skip=32 of=<disk> seek=16 bs=512 count=16
>
> Thx to
> http://groups.google.de/groups?selm=Pine.BSF.4.21.0212150052530.41793-100000_root.org%40ns.sol.net&oe=UTF-8&output=gplain

Not really solved.  fsck_ffs is supposed to be able to find alternative
superblocks automatically, and the primary superblock shouldn't get
trashed.  Apparently the first alternative is at offset 32 (this is
a normal place for it IIRC), but fsck_ffs can't find it there for
some reason.

Bruce


More information about the freebsd-current mailing list