Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 08:55:12 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
To:        =?ISO-8859-1?Q?Eirik_=D8verby?= <ltning@anduin.net>
Cc:        current@freebsd.org
Subject:   Re: atacontrol and creating raid-1 arrays
Message-ID:  <414695D0.1020202@DeepCore.dk>
In-Reply-To: <8AA611E5-05B1-11D9-831C-000D9335BCEC@anduin.net>
References:  <8AA611E5-05B1-11D9-831C-000D9335BCEC@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Eirik Øverby wrote:
> Hi,
> 
> I have just done a 'cp /dev/ad4 /dev/ad6'. Those drives should be 100% 
> identical (even the same drive models). Will the command
> 'atacontrol create RAID1 ad4 ad6' ruin the data on my drives?
> 
> I ask because I am hoping to avoid the need for another 150 gigs of 
> space just to copy the data off of the drives before creating the array...

"depends"

Since the RAID metadata has to be put on disk it wont work if you have 
that area used for real data. Depending on what controller you use the 
metadata can be stored in different places. Other than that it works if 
you are *sure* the disks are identical (dd with a decnet blocksize is 
*much* faster tha cp).

-Søren



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?414695D0.1020202>