From owner-freebsd-current@FreeBSD.ORG Tue Sep 14 06:57:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78AB016A4CE for ; Tue, 14 Sep 2004 06:57:15 +0000 (GMT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D98A643D39 for ; Tue, 14 Sep 2004 06:57:14 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i8E6twnj093040; Tue, 14 Sep 2004 08:55:58 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <414695D0.1020202@DeepCore.dk> Date: Tue, 14 Sep 2004 08:55:12 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040802) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Eirik_=D8verby?= References: <8AA611E5-05B1-11D9-831C-000D9335BCEC@anduin.net> In-Reply-To: <8AA611E5-05B1-11D9-831C-000D9335BCEC@anduin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: atacontrol and creating raid-1 arrays X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 06:57:15 -0000 Eirik =D8verby wrote: > Hi, >=20 > 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? >=20 > I ask because I am hoping to avoid the need for another 150 gigs of=20 > space just to copy the data off of the drives before creating the array= =2E.. "depends" Since the RAID metadata has to be put on disk it wont work if you have=20 that area used for real data. Depending on what controller you use the=20 metadata can be stored in different places. Other than that it works if=20 you are *sure* the disks are identical (dd with a decnet blocksize is=20 *much* faster tha cp). -S=F8ren