From owner-freebsd-stable Wed Jul 26 19:44:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id 76CBF37B5F0 for ; Wed, 26 Jul 2000 19:44:14 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id TAA23441; Wed, 26 Jul 2000 19:44:10 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200007270244.TAA23441@freeway.dcfinc.com> Subject: Re: URGENT: bad superblock In-Reply-To: <20000726214401.K24476@speedy.gsinet> from Gerhard Sittig at "Jul 26, 0 09:44:01 pm" To: Gerhard.Sittig@gmx.net (Gerhard Sittig) Date: Wed, 26 Jul 2000 19:44:10 -0700 (MST) Cc: stable@FreeBSD.ORG Reply-To: chad@DCFinc.com Organization: DCF, Inc. X-O/S: FreeBSD 2.2.8-STABLE X-Unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Gerhard Sittig wrote: > Returning to the problem: From L*'s ext2fs I know of a method to > fallback to the superblock's copies sprinkled all over the disk > (every 8192 blocks?) when the "first" one is damaged. This info > could at least be used to restore the first one to make mount > work again. Is there some similar mechanism for ffs/ufs? The second one is always at block 32, I believe. So, "fsck -b 32 [filesystem]" should do ya. After that, where they live depends on things like the number of cylinders per group and other tunables that you can frob when you make the filesystem. It's recommended you save the output of the newfs run to have a complete list. However, if you can remember the options you used when you created the filesystem (easy if you used the defaults), a "newfs -N" with the same options will tell you where all the superblocks wound up. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message