From owner-freebsd-questions@FreeBSD.ORG Mon Aug 6 10:37:46 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 985AB106564A for ; Mon, 6 Aug 2012 10:37:46 +0000 (UTC) (envelope-from navarre.matthew@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A3888FC0C for ; Mon, 6 Aug 2012 10:37:46 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so1097139pbb.13 for ; Mon, 06 Aug 2012 03:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nLqWqljxcFC9rG4O4jnClUOguMRbvLqqNCjaOB8C01o=; b=DyU5uEXtTaO8EFr/9mrIxQoKh/0OIMw3qMWGiEwbe2fJ0/ePLIsFQh5EsW5+9buA7M K1wc5ZgSfhbHKmT39gioTdcqffHuomKTW7jiThhvZDjhFWaypP9P4fVB2mQajXE/FmL7 EEJIa9PJQgzQaNm0Mi1fYNTcrxTNpKDQ6nd8OYCOvmOBSIf9wxC+VGlpitO7neRlPjXk /Le4rzVILiKw/ddCLapa9p+tGGjF37CvL6O0SFTklbDtk+MZlY9ZZoiem84diF3FYayD mRp1JAl6wxNioOSPEdQ50V/4k0Wf6C9aszL8v3zpVY8/nxJOqs+2BZ1ekyaYVZ4dsaab fHDA== MIME-Version: 1.0 Received: by 10.68.217.100 with SMTP id ox4mr17832338pbc.87.1344249465661; Mon, 06 Aug 2012 03:37:45 -0700 (PDT) Received: by 10.68.52.197 with HTTP; Mon, 6 Aug 2012 03:37:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Aug 2012 03:37:45 -0700 Message-ID: From: Matthew Navarre To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 10:37:46 -0000 On Mon, Aug 6, 2012 at 2:55 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > 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. > Yep, did that, so I'll lose some data, but that partition is mostly media and some old MacOS (7/8/9) software, so it'd suck to lose it but wouldn't be catastrophic. The first partition on the disk is more important. The ironic thing is that the drives I was going to transfer this data onto and the external hard drive that was going to be hold the backups are on their way. Murphy strikes when you least expect it. > >> So, any suggestions? >> >> > repair partition table, use mdconfig and then you will get > > /dev/md0 > /dev/md0s1... > > as with real drive > Yep, it's currently the whole "repair partition table" bit that's giving me problems. Unfortunately, PC disk geometry is not my forte. I'm hoping I can find my log book from the system this drive was transfered from, which should have both the partition map and the alternate superblocks written down. My wife probably put it somewhere "safe" ;) OK, MCN