From owner-freebsd-current Thu Jul 11 1: 3:59 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 847D437B401 for ; Thu, 11 Jul 2002 01:03:56 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C5E543E6E for ; Thu, 11 Jul 2002 01:03:10 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 11 Jul 2002 09:02:53 +0100 (BST) To: David Schultz Cc: current@FreeBSD.ORG Subject: Re: -CURRENT trashes disk label In-Reply-To: Your message of "Thu, 11 Jul 2002 00:46:18 PDT." <20020711074618.GA382@HAL9000.wox.org> Date: Thu, 11 Jul 2002 09:02:53 +0100 From: Ian Dowse Message-ID: <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 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. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message