From owner-freebsd-current Fri Jul 12 9:21:35 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 84AEB37B400 for ; Fri, 12 Jul 2002 09:21:32 -0700 (PDT) Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD3843E6D for ; Fri, 12 Jul 2002 09:21:31 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g6CGLTY94437; Fri, 12 Jul 2002 10:21:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g6CGLSG31676; Fri, 12 Jul 2002 10:21:29 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 12 Jul 2002 10:21:12 -0600 (MDT) Message-Id: <20020712.102112.89131264.imp@bsdimp.com> To: iedowse@maths.tcd.ie Cc: dschultz@uclink.Berkeley.EDU, current@FreeBSD.ORG Subject: Re: -CURRENT trashes disk label From: "M. Warner Losh" In-Reply-To: <200207110902.aa74600@salmon.maths.tcd.ie> References: <20020711074618.GA382@HAL9000.wox.org> <200207110902.aa74600@salmon.maths.tcd.ie> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 In message: <200207110902.aa74600@salmon.maths.tcd.ie> Ian Dowse writes: : 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. : : The other thing that causes scary-looking errors when moving disks : back and forth between -CURRENT and -STABLE is when the snapshot : used by -CURRENT's fsck gets left behind if you reboot during the : background fsck and then boot -STABLE. Damn. I forgot to include Kirk's UPDATING entry that he sent me on this topic. Sorry about that. I'll deal later today. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message