From owner-freebsd-current Fri Nov 29 9: 4:53 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 7889A37B401 for ; Fri, 29 Nov 2002 09:04:52 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539C643EC5 for ; Fri, 29 Nov 2002 09:04:51 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gATH4VSu000351; Fri, 29 Nov 2002 12:04:31 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gATH4Vt7000350; Fri, 29 Nov 2002 12:04:31 -0500 (EST) (envelope-from hiten) Date: Fri, 29 Nov 2002 12:04:31 -0500 From: Hiten Pandya To: Sam Leffler Cc: Wesley Morgan , current@FreeBSD.ORG Subject: Re: Harry Potter and the Disappearing Disklabel Message-ID: <20021129170431.GA99299@angelica.unixdaemons.com> References: <20021129093417.V7358-100000@volatile.chemikals.org> <0b7b01c297c6$f673acd0$52557f42@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0b7b01c297c6$f673acd0$52557f42@errno.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index 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 On Fri, Nov 29, 2002 at 08:47:10AM -0800, Sam Leffler wrote the words in effect of: > > Yesterday morning I was having some trouble with XFree consuming much more > > cpu time than necessary... A truss showed that some kind of shared memory > > issue going on, but also froze my system hard. After rebooting (kernel was > > from Nov 26 or 27) fsck could not check my one dirty UFS2 partition. Had > > to newfs and mtree to recreate /var. No big deal, and I saved an image of > > it beforehand. > > > > After rebooting, there was... NOTHING. GRUB errored out and wouldn't boot. > > Nothing could see my partitions. After a minimal 4.7-R install (DP2 > > disklabel whined about offsets and some other STRANGE error messages, > > so I went with 4.7) on a small fat32 partition, I discovered that the > > disklabel was empty. Had to edit it by hand... Booted up fine, made > > a backup, rebooted, and nothing. Not only was there NOTHING, but the > > disklabel on the new 4.7 install had vanished as well. This time the > > disklabel had to be recreated with -w -r AND the boot blocks had to be > > reinstalled. > > > > I've seen one post similar to this, but not much else. I think maybe the > > UFS2 problem had to do with Kirk's recent changes, but the disklabel > > issue... I'm wary to reboot my machine! What in the hell could be causing > > this? I'm tempted to point the finger at GEOM, but hate to say anything > > like that. > > Same problem hit me yesterday. Haven't figured out the cause yet. > > Sam FWIW, find-sb in /usr/src/tools/tools, does a good job of finding UFS1 and UFS2 slices. It is somewhat similar to scan_ffs but way more advanced. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message