Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 22:13:52 -0800
From:      "Benjamin P. Keating" <bkeating@teov.org>
To:        Charles Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Recovering Data from a reformatted drive
Message-ID:  <403EE020.1020105@teov.org>
In-Reply-To: <C8D4405E-68A4-11D8-870A-003065ABFD92@mac.com>
References:  <403ED531.5040508@teov.org> <C8D4405E-68A4-11D8-870A-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Swiger wrote:

> On Feb 27, 2004, at 12:27 AM, Benjamin P. Keating wrote:
>
>> I have a hard drive that had lots of important data on it. It was 
>> reformatted and I have no backups (lesson learned). It was a ccd 
>> mirror of two 100gig drives. Once the reformat of this ccd completed 
>> the machine was shut down to prevent writing to this disk even more so.
>
>
> By this you mean, you used ccd to reformat the drive as part of a 
> newly created RAID-1 mirror?
>
> If you just newfs'ed the disk, most of the data blocks will still be 
> intact and can be recovered (to some extent).  However, if you did 
> create a RAID filesystem on the disk, you are out of luck.  The 
> process of creating a RAID-1 or -5 volume involves syncronizing all of 
> the disks, which will overwrite every sector on the drive.
>
> I'm sorry that you lost data.
>
Im not sure if this counts as a RAID configuration. Here is what I did;  
I had a working FreeBSD 4.9 system, powered it down and plugged in the 
two additional IDE 100gig harddrives (what make up the ccd0c device). 
Powered up and did this:

cd /dev/
sudo ./MAKEDEV ccd0
sudo ccdconfig ccd0 128 4 /dev/ad0e /dev/ad1e
sudo ccdconfig -g
sudo vi /etc/ccd.conf
(added "ccd0 128 4 /dev/ad0e /dev/ad1e" to the ccd.conf file)
sudo newfs /dev/ccd0c

I let the newfs command finish (it scrolled a page full of block numbers 
it looked like). I realized this last command is NOT what i wanted about 
.5 seconds after hitting enter. :(  Would this be a RAID configuration? 
I don't think it is, it's a simple mirror


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403EE020.1020105>