From owner-freebsd-questions Mon Aug 27 23:19: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id F286237B403 for ; Mon, 27 Aug 2001 23:18:58 -0700 (PDT) (envelope-from root@pukruppa.de) Received: from [195.20.224.220] (helo=mrvdom04.kundenserver.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15bcDB-0005Ln-00; Tue, 28 Aug 2001 08:18:57 +0200 Received: from pd950c7a2.dip.t-dialin.net ([217.80.199.162] helo=pukruppa.de) by mrvdom04.kundenserver.de with esmtp (Exim 2.12 #2) id 15bcDA-0004O6-00; Tue, 28 Aug 2001 08:18:56 +0200 Message-ID: <3B8B53E8.6E5C5597@pukruppa.de> Date: Tue, 28 Aug 2001 08:18:48 +0000 From: "P. U. (Uli) Kruppa" X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Micke Josefsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: BAD SUPER BLOCK References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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