From owner-freebsd-questions@FreeBSD.ORG Mon Aug 6 09:55:56 2012 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 C0773106564A for ; Mon, 6 Aug 2012 09:55:56 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 275938FC0A for ; Mon, 6 Aug 2012 09:55:55 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q769tpbi004483; Mon, 6 Aug 2012 11:55:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q769tpsS004480; Mon, 6 Aug 2012 11:55:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 6 Aug 2012 11:55:51 +0200 (CEST) From: Wojciech Puchar To: Matthew Navarre In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 06 Aug 2012 11:55:52 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Mounting raw disk backup file. 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: Mon, 06 Aug 2012 09:55:56 -0000 > I had a drive fail recently, it was working fine until I rebooted. After > that the partition map was corrupt and I can't mount either partition on > the disk. So I made a copy of the whole disk using dd to an old USB drive. > There were several IO errors while dd was copying the disk, so I think the > disk is starting to go. did you use conv=sync,noerror. if not your backup is quite corrupted if errors were uncorrectable. > > So, any suggestions? > repair partition table, use mdconfig and then you will get /dev/md0 /dev/md0s1... as with real drive