From owner-freebsd-current Fri Nov 29 12:31:15 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 AE07537B401 for ; Fri, 29 Nov 2002 12:31:13 -0800 (PST) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F090043E9C for ; Fri, 29 Nov 2002 12:31:12 -0800 (PST) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.6/8.12.6) with ESMTP id gATKV0gl058302; Fri, 29 Nov 2002 15:31:01 -0500 (EST) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.6/8.12.6/Submit) id gATKV0mo058301; Fri, 29 Nov 2002 15:31:00 -0500 (EST) Date: Fri, 29 Nov 2002 15:31:00 -0500 From: Alexander Kabaev To: Wesley Morgan Cc: current@FreeBSD.ORG Subject: Re: Trashed Disk Labels Message-Id: <20021129153100.0112b71a.ak03@gte.com> In-Reply-To: <20021129145155.I8411-100000@volatile.chemikals.org> References: <200211291938.gATJcS59077381@beastie.mckusick.com> <20021129145155.I8411-100000@volatile.chemikals.org> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.6claws35 (GTK+ 1.2.10; i386-portbld-freebsd5.0) 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 On Fri, 29 Nov 2002 14:53:06 -0500 (EST) Wesley Morgan wrote: > On Fri, 29 Nov 2002, Kirk McKusick wrote: > > > I have had a report of a disk label getting trashed after booting > > up to a kernel with the new UFS2 superblock format. I have just > > checked in an update to ufs/ffs/ffs_vfsops.c (version 1.198) that > > explicitly checks to make sure that it will not trash your disk > > label. I highly recommend that you update to this version, even if > > you are only running with UFS1 filesystems. > > > > Kirk McKusick > > Great! Any tools available to extract my var/db/pkg dirs from this image > of my trashed UFS2 filesystem? :> > > -- > Hi! I'm a .signature virus! Copy me into your ~/.signature to help me > spread! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message I successfully used ffsfind utility to locate filesystem boundaries on a disk I trashed some time ago. I do not have the utility source available anymore, but you can track it down quite easily on google, I believe. The one I used was actually posted for NetBSD, but it compiled with minimal changes on FreeBSD and Solaris too. You will have to teach it to recognize UFS2 magic. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message