From owner-freebsd-questions@FreeBSD.ORG Mon Aug 8 05:00:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 280CC16A41F for ; Mon, 8 Aug 2005 05:00:47 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id D949A43EB2 for ; Mon, 8 Aug 2005 04:41:33 +0000 (GMT) (envelope-from mark@mkproductions.org) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm12.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j784fWck021261 for ; Mon, 8 Aug 2005 00:41:32 -0400 X-ORBL: [66.139.109.212] Received: from [192.168.1.45] (ppp-66-139-109-212.dsl.stlsmo.swbell.net [66.139.109.212]) by pimout5-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j784fRgS537672; Mon, 8 Aug 2005 00:41:32 -0400 Message-ID: <42F6F046.6070504@mkproductions.org> Date: Mon, 08 Aug 2005 00:40:22 -0500 From: Mark Kane User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050620) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Gary W. Swearingen" References: <42F65ECF.20307@mkproductions.org> <7dy87djsqe.87d@mail.opusnet.com> <42F6C945.1050703@mkproductions.org> In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to recover data? - Formatted, Fdisk'd, and disklabeled ad1, now ad0 with FreeBSD is messed up 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, 08 Aug 2005 05:00:47 -0000 Gary W. Swearingen wrote: > Hmmm. I didn't know that "s1" could be mounted since the > filesytem doesn't start until at least 16 sectors after the start > of "s1". But "bsdlabel" show that my "a" starts at 0 offset from > the start of my "s3", so "s1" and "s1a" must be pretty-much the > same thing as far as mounting is concerned. > > I'd try mounting /dev/ad0s1a anyway; your non-standard way might > confuse it. > > BTW, I'd always mount ad0 stuff with -r flag until I got my data > off it. I'd probably start by disconnecting it's IDE cable at > least until I had FreeBSD running off your 60 GB drive. And > then hook it up and try to make it mountable read only. Mounting /dev/ad0s1a showed what was my root partition before. I tried mounting ad0s1b, and it gave "Incorrect Super Block". I went on to guess ad0s1f, mounted it, and it was /usr. Appears like /usr/home/myuser/ exists and my files are there. > (A supposedly better alternative to writing all zeros is writing random > numbers, which is pretty-much what your NTFS disk would have looked > like to another OS like FreeBSD. (Zeros are not as good because with > the right tools (very hard to do), your old data can be read in left- > over magnetism, but that's MUCH harder if random data has been used.) > > That quote is the only thing you've said in your msg that looks > suspicious to me. Could the Maxtor stuff have done something to your > first disk's MBR? Support people always have to point to the other > guy, right? Yeah, I've heard that random numbers is better, however I wasn't trying cover any tracks, just start clean. The Maxtor software could not have done something to ad0 because: 1) I had the FreeBSD drive unplugged when I did the format. 2) I did the format before partitioning it, and it booted to FreeBSD fine to partition it. > When you get FreeBSD running on a 60 GB, or if you think the Fixit CD > is working OK, run "fdisk ad0" and "bsdlabel ad0s1". I still didn't > understand if you had more than a ad0s1a before your problem, so I'm > not sure what should look normal from those commands. But you can > probably tell if it looks right. My ultimate goal is to get this install of FreeBSD on ad0 to boot again, and make sure ad1 is ready in UFS for the data to be dumped back on to it. Then dump the data back on, see if my DMA problem from before goes away, and then proceed to get the other drives copied, formatted, and restored. Then when all that is complete and all my drives are in UFS, I plan to reinstall FreeBSD on the 160GB drive, since this install was pretty much a test to determine if I wanted to run the amd64 or i386 version of FreeBSD. (Was not sure if I could deal with no Java/linux-firefox/flash plugin, but I think I can) I'm not sure given the info that I have what the proper way to get FreeBSD back up and running again, and to make sure ad1 is ready is. I replied to a reply on the list a few minutes ago saying that if I mount /dev/ad1s1d, it shows the full 55G size and 51G avail that is supposed to be the ad1 60GB drive. I'm not sure why that's "d" though. Thanks. -Mark