From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 23 03:47:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 D279416A420 for ; Thu, 23 Feb 2006 03:47:35 +0000 (GMT) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E5E543D45 for ; Thu, 23 Feb 2006 03:47:35 +0000 (GMT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.13.4/8.13.4) with ESMTP id k1N3lW3N067497; Wed, 22 Feb 2006 19:47:32 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.13.4/8.13.4) with ESMTP id k1N3hfeb036421; Wed, 22 Feb 2006 19:43:41 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by realtime.exit.com (8.13.4/8.13.4/Submit) id k1N3hc6d036420; Wed, 22 Feb 2006 19:43:38 -0800 (PST) (envelope-from frank@exit.com) X-Authentication-Warning: realtime.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: Dave In-Reply-To: <015701c63828$7af60a70$0200a8c0@satellite> References: <015701c63828$7af60a70$0200a8c0@satellite> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Wed, 22 Feb 2006 19:43:38 -0800 Message-Id: <1140666218.34974.3.camel@realtime.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.87.1/1298/Wed Feb 22 12:50:12 2006 on tinker.exit.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: urgent, need to recover superblock! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 03:47:35 -0000 On Wed, 2006-02-22 at 22:23 -0500, Dave wrote: > Some urgency on this issue! I've got a 10 gb ide drive that has > critical data on one of it's > partitions /dev/ad1e. This drive was originally gmirrored in > another box it worked fine, it was the master drive. Now i've > installed this drive as a slave in another 6.0 box, and now it > shows up as ad1 with the partition i want being ad1e. I did a mount it > worked fine. So i knew the drive was working, i then unmounted the > partition, and tried to dump it to another drive. This didn't work, dump got > an error about incorrect superblock. I then did a mount > -o ro /dev/ad1e /mnt and i'm getting an error "Incorrect > superblock" from mount. I then tried fsck /dev/ad1e and got the > same error msg. These partitions were formatted with ufs2 as their > filesystem. I then ran bsdlabel ad1 and got a printout of my label, > this showed up which gives me hope that this data can be retrieved. > An error i'm getting from bsdlabel says that the c: partition does not cover > the > entire disk and that may result in utilities not working correctly. Any > help appreciated. > Some urgency! My heavily-hacked version of ffsrecov (hacked to support UFS2 but not quite ready for general release) might help with this. Source is available at http://www.exit.com/Archives/FreeBSD/ffsrecov.tar.gz. If you make changes, please send them back to me and I'll try to incorporate them. One of these days I'll get around to making this thing suitable for ports. But not today. Hope it helps. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/