Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 23:25:58 +0100
From:      Eivind Eklund <eivind@FreeBSD.ORG>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        fs@FreeBSD.ORG
Subject:   Re: Finding a lost FS
Message-ID:  <19990111232558.W40114@bitbox.follo.net>
In-Reply-To: <199901112204.PAA01127@usr05.primenet.com>; from Terry Lambert on Mon, Jan 11, 1999 at 10:04:50PM %2B0000
References:  <19990110181118.F25747@bitbox.follo.net> <199901112204.PAA01127@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <all numbers> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990111232558.W40114>