From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 19:58:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A079106564A for ; Wed, 3 Dec 2008 19:58:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8695E8FC13 for ; Wed, 3 Dec 2008 19:58:55 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mB3Jwloi048149; Wed, 3 Dec 2008 20:58:47 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mB3JwlfG048146; Wed, 3 Dec 2008 20:58:47 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 3 Dec 2008 20:58:47 +0100 (CET) From: Wojciech Puchar To: PJ In-Reply-To: <4936C1CA.2040501@videotron.ca> Message-ID: <20081203205836.I48129@wojtek.tensor.gdynia.pl> References: <4936C1CA.2040501@videotron.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: restore superblock X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 19:58:58 -0000 fsck_ffs -b An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. On Wed, 3 Dec 2008, PJ wrote: > I have been googling for superblock restore and things are a bit confusing. > Some of the commands don't seem to match current fsck parameters (notably -b > doesn't exist. > Apparently I should be able to reconstruct the superblock(s) on my /usr > partition (slice ?) as my searches found that there are backups of the > superblocks on the files systems. > But how do I find them and restore the corrupt ones? Not clear in my > searches. > I have another installation of fbsd 7.0 on another machine with the > partitioning identical and identical hdds. > How could I use the superblock and/or other information from the good > installation to repair the damaged one - or would it be possible to recover > the superblock info from the damaged one's backcups? > Phil Jourdan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >