Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 07:52:12 +0200 (CEST)
From:      Micke Josefsson <mj@isy.liu.se>
To:        "Peter Ulrich (Uli) Kruppa" <root@pukruppa.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: BAD SUPER BLOCK
Message-ID:  <XFMail.010828075212.mj@isy.liu.se>
In-Reply-To: <NFBBKEEBIDJCDLHENAJCEEDACAAA.root@pukruppa.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Aug-01 Peter Ulrich (Uli) Kruppa wrote:
> Hi all,
> 
> I only can boot into single-user mode because of an "UNEXPECTED
> INCONSISTENCY" of my /var partition.
> 
># fsck /dev/ad0s2e
> (that is my /var ) delivers
> 
> BAD SUPER BLOCK: MAGIC NUMBER WRONG
> /dev/ados2e: INCOMPLETE LABEL: type 4.2BSD fsize 0; frag 0, cpg 0
> , size 409600
> 
> 
> What can I do?
> Thanks for your answers.

I think this the time to use one of the extra superblocks on the disk. Try

fsck -b 32 /dev/ad0s2e

(to be honest I have never tried it myself, but that is what I'd have a go at if
I were you)

/Micke


----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 4.4-RC
----------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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