From owner-freebsd-current@FreeBSD.ORG Fri Oct 29 20:43:45 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 4304416A4CE for ; Fri, 29 Oct 2004 20:43:45 +0000 (GMT) Received: from srv1a-cta.bs2.com.br (srv1a-cta.bs2.com.br [200.203.183.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 010C143D39 for ; Fri, 29 Oct 2004 20:43:45 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (srv1a-cta.bs2.com.br [200.203.183.35]) by srv1a-cta.bs2.com.br (Postfix) with ESMTP id 07A031C6622; Fri, 29 Oct 2004 17:43:44 -0300 (BRST) Received: from [192.168.0.97] (200-138-094-229.mganm7002.dsl.brasiltelecom.net.br [200.138.94.229]) by srv1a-cta.bs2.com.br (Postfix) with ESMTP id 6AFEC1C653F; Fri, 29 Oct 2004 17:43:43 -0300 (BRST) Message-ID: <4182AB7E.3050008@tirloni.org> Date: Fri, 29 Oct 2004 17:43:42 -0300 From: "Giovanni P. Tirloni" User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christian Hiris <4711@chello.at> References: <217202CB5FF8AE439E263CE3D48ECB50757E5D@honda.int.hansa.lt> <41828271.60808@tirloni.org> <200410292222.35572.4711@chello.at> In-Reply-To: <200410292222.35572.4711@chello.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: atacontrol and SATA RAID 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: Fri, 29 Oct 2004 20:43:45 -0000 Christian Hiris wrote: > Try to overwrite the first few sectors of your spare disk (ad6) with zeroes. > Possibly there were some bits from your old ataraid or your raid-controller > left. You can do this by using the 'dd' command or a tool from your hardware > vendor. If your disk is "clean" retry the addspare and then rebuild your > mirror. > > # dd if=/dev/zero of=/dev/ad6 bs=512 count=128 > # atacontrol addspare 0 ad6 > # atacontrol rebuild 0 The first time I formated the disk through the Adaptec BIOS FreeBSD would still add the disk to the array and panic. I allowed it to format 10% of the disk. The second time I left it formating the whole disk and it worked (see my other e-mail describing how I got it to work). In resume, I've a RAID-capable controller but I'm not using it (Intel 6300ESB / Adaptec HostRAID BIOS) because FreeBSD won't recognize the array I create there. So far the RAID support in FreeBSD's ata has done the job. -- Giovanni P. Tirloni