From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 17:50:03 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 376201065675 for ; Wed, 3 Dec 2008 17:50:03 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 1054C8FC23 for ; Wed, 3 Dec 2008 17:50:02 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KBB00KNUAVET150@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Wed, 03 Dec 2008 12:50:02 -0500 (EST) Message-id: <4936C6CA.4060100@videotron.ca> Date: Wed, 03 Dec 2008 12:50:02 -0500 From: PJ User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) To: freebsd-questions@freebsd.org References: <4936C1CA.2040501@videotron.ca> In-reply-to: <4936C1CA.2040501@videotron.ca> 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 17:50:03 -0000 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" > Here is what I get when I run fsck /dev/ad8s1f : **fsck /dev/ad8s1f **Last Mounted on /usr Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=2802880 UNEXPECTED SOFT UPDATE INCONSISTENCY (I answered n to all the remove? [yn] questions) UNKNOWN FILE TYPE I=3297280 UNKNOWN FILE TYPE I=3297408 INCORRECT BLOCK COUNT I=4008454 (1440 should be 384) PHASE 2 - Check Pathnames DUP/BAD I=3297280 OWNER = ROOT MODE=40755 SIZE=8192 MTIME= JUL 21 14:25 2008 DIR= /lib Hope this give some useful information. Phil Jourdan