From owner-freebsd-fs Mon Jan 11 14:27:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10685 for freebsd-fs-outgoing; Mon, 11 Jan 1999 14:27:00 -0800 (PST) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10669 for ; Mon, 11 Jan 1999 14:26:53 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id XAA08558; Mon, 11 Jan 1999 23:26:03 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA58181; Mon, 11 Jan 1999 23:25:59 +0100 (MET) Date: Mon, 11 Jan 1999 23:25:58 +0100 From: Eivind Eklund To: Terry Lambert Cc: fs@FreeBSD.ORG Subject: Re: Finding a lost FS Message-ID: <19990111232558.W40114@bitbox.follo.net> References: <19990110181118.F25747@bitbox.follo.net> <199901112204.PAA01127@usr05.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199901112204.PAA01127@usr05.primenet.com>; from Terry Lambert on Mon, Jan 11, 1999 at 10:04:50PM +0000 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Jan 11, 1999 at 10:04:50PM +0000, Terry Lambert wrote: > > An error during some build experiments made disklabel run against the > > wrong disk, overwriting just the label before quitting. Have anybody > > got any good starters for how to recover the information on where the > > FS on that disk is located? > > > > I'm presently just running fsck -n -b against the disk, > > looking for alternate superblocks with good checksums. This has also > > uncovered at least one bug in fsck (it gives a bus error when scanning > > the bogus 'file system' described by one of those superblocks), so it > > is probably an exercise I should do more regularly... > > Did you blow the label on the other disk, or just the superblock for > the FS in question? Label :-( > If you blew the label, you have to recreate it correctly, since fsck > is for checking FS's, not disklabel's that define where FS's start. I did that just to find the alternate superblocks, hoping to be able to use their location to give me a clue to the correct labelling of the disk. That has not quite worked yet :-( Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message