From owner-freebsd-current Thu Jul 11 1:13:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 878F737B400 for ; Thu, 11 Jul 2002 01:13:15 -0700 (PDT) Received: from HAL9000.wox.org (12-233-156-170.client.attbi.com [12.233.156.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id F046E43E4A for ; Thu, 11 Jul 2002 01:13:14 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.wox.org (localhost [127.0.0.1]) by HAL9000.wox.org (8.12.3/8.12.3) with ESMTP id g6B8DVUi000665; Thu, 11 Jul 2002 01:13:31 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.wox.org (8.12.3/8.12.3/Submit) id g6B8DUui000664; Thu, 11 Jul 2002 01:13:30 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Thu, 11 Jul 2002 01:13:29 -0700 From: David Schultz To: Ian Dowse Cc: current@FreeBSD.ORG Subject: Re: -CURRENT trashes disk label Message-ID: <20020711081329.GA568@HAL9000.wox.org> Mail-Followup-To: Ian Dowse , current@FreeBSD.ORG References: <20020711074618.GA382@HAL9000.wox.org> <200207110902.aa74600@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207110902.aa74600@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Ian Dowse : > In message <20020711074618.GA382@HAL9000.wox.org>, David Schultz writes: > >I just made world on -CURRENT (cvsup a few hours ago), booted > >using a new GENERIC kernel and ran mergemaster. Before I > >installed world, I mounted the root partition for my more stable > >development environment (4.6-RELEASE) to copy my firewall rules > >over. In summary: > > ># fsck /dev/ad1s1a > >** /dev/ad1s1a > >BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE > >/dev/ad1s1a: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, size 524288 > > You just need to "fsck -b16 /dev/ad1s1a", or alternatively upgrade > to the latest -STABLE fsck, which fixes this issue. There are a few > new superblock fields in use in -CURRENT that trigger some unnecessary > fsck sanity checks. Excellent, upgrading fsck did the trick. Thanks for the quick reply! (By the way, shouldn't fsdb still work, even if it's confused? If a superblock glitch makes it refuse to start, that sort of defeats the purpose.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message