Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 08:18:48 +0000
From:      "P. U. (Uli) Kruppa" <root@pukruppa.de>
To:        Micke Josefsson <mj@isy.liu.se>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: BAD SUPER BLOCK
Message-ID:  <3B8B53E8.6E5C5597@pukruppa.de>
References:  <XFMail.010828075212.mj@isy.liu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Micke Josefsson wrote:
> 
> 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)
(in the meantime I used my fixit-floppy to uncomment 
  /dev/ad0s2e     in  /etc/fstab
 and to make some important /var-directories manually to be able to
 boot into multi-user mode again. But of course I still would like 
 to restore my /var-partition)

I tried
fsck -b 32 /dev/ad0s2e
but I get an 
illegal option --b
and I did not find anything equivalent in  # man fsck
By the way: I run FreeBSD -CURRENT .

Are there any more ideas out there?


Thanks for your answers!

Uli.


-- 
*--------------------------------------*
|  www.pukruppa.de       www.2000d.de  |
|          Wuppertal - Germany         |
*--------------------------------------*

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?3B8B53E8.6E5C5597>