From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 24 12:55:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A29B16A4CE for ; Sat, 24 Jul 2004 12:55:17 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC77843D4C for ; Sat, 24 Jul 2004 12:55:16 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i6OCtA90052400; Sat, 24 Jul 2004 05:55:11 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <41025C2E.8070904@freebsd.org> Date: Sat, 24 Jul 2004 05:55:10 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Charles Sprickman References: <20040719191408.V28049@toad.nat.fasttrackmonkey.com> <40FD011B.1020504@trio.plala.or.jp> <20040720140124.E28049@toad.nat.fasttrackmonkey.com> In-Reply-To: <20040720140124.E28049@toad.nat.fasttrackmonkey.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: disk recovery help X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 12:55:17 -0000 Charles Sprickman wrote: > > ... there seem to be a ton of superblock backups. > How do I find out where they are and compare them? This is an FAQ, and probably in the handbook somewhere (google for "alternate superblock"): * According to "man fsck_ffs", block 32 is usually an alternate superblock. * You can also use newfs -N to find out where the superblocks are probably located and fsck_ffs -b to recheck the drive using one of the alternates instead of the trashed primary. * 40G IDE drives are cheap and plenty big enough to give you a sandbox for trying to recover your 26G filesystem image. Someone else mentioned "fsdb." I've never used it myself, but it looks like it might be useful to you. Tim