Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 16:12:30 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Thomas Gutzler <giggel@hadiko.de>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: recover superblock
Message-ID:  <20030825161221.U3593@gamplex.bde.org>
In-Reply-To: <20030824232636.GC14668@brain.hadiko.de>
References:  <20030824192611.GA14668@brain.hadiko.de> <20030824232636.GC14668@brain.hadiko.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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