Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 1996 03:47:59 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        Paul Reece <paul@tassie.net.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: help! panic! ;)
Message-ID:  <Pine.NEB.3.94.960722034657.272D-100000@ki.net>
In-Reply-To: <Pine.BSF.3.91.960722165540.817A-100000@merlin.tassie.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Jul 1996, Paul Reece wrote:

> 
> Anyone have any quick solutions (besides using mkfs) to get fsck through 
> this?:
> 
> merlin# fsck -n /dev/sd0s1a
> ** /dev/rsd0s1a (NO WRITE)
> BAD SUPER BLOCK: MAGIC NUMBER WRONG
> Floating exception (core dumped)
> 
> 
> The disk corrupted itself and as you can expect, barfs during rebooting..
> 
> Suggestions GREATLY appreciated...
>

	Don't know if this helps, but remembered it fro mback in my BSDi
days:

>From FreeBSD's fsck man page:

     -b      Use the block specified immediately after the flag as the super
             block for the filesystem.  Block 32 is usually an alternate super
             block.

	So, I'd assume something like: fsck -n -b 32 /dev/sd0s1a ?



Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.94.960722034657.272D-100000>