Date: Mon, 11 Jan 1999 22:04:50 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: eivind@FreeBSD.ORG (Eivind Eklund) Cc: fs@FreeBSD.ORG Subject: Re: Finding a lost FS Message-ID: <199901112204.PAA01127@usr05.primenet.com> In-Reply-To: <19990110181118.F25747@bitbox.follo.net> from "Eivind Eklund" at Jan 10, 99 06:11:18 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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? 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. If you blew the superblock, try 32767; it's common to most FS's that are large enough. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?199901112204.PAA01127>