From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 17:10:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7C8F16A4CE for ; Wed, 3 Nov 2004 17:10:13 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D2D43D31 for ; Wed, 3 Nov 2004 17:10:13 +0000 (GMT) (envelope-from dgilbert@dclg.ca) Received: from [66.96.20.59] (H59.C20.B96.tor.eicat.ca [66.96.20.59]) by ox.eicat.ca (Postfix) with ESMTP id CDB27C6C6 for ; Wed, 3 Nov 2004 12:10:08 -0500 (EST) Message-ID: <418910EE.4010205@dclg.ca> Date: Wed, 03 Nov 2004 12:10:06 -0500 From: David Gilbert User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: copying a superblock (more running-with-scissors) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 17:10:13 -0000 OK. So the bad filesystem I have ... where roughly the first 200k is bad (0's at this point as I've used recoverdisk and those blocks are unreadable on the origional disk). fsck can start on things using the -b option, but as I said before I end up with an empty filesystem as fsck can't create a lost+found directory. So the suggestion was to try dump. Cool. I understand. Problem so far with dump is that it can't find a superblock (not too surprising) and it doesn't have an option to use an alternate superblock. What I suspect we have here is the first 200k of disk are 0's ... which (I think) contains inode 1 and junk that goes with that.