From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 06:59:54 2006 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 109C816A420 for ; Thu, 9 Mar 2006 06:59:54 +0000 (GMT) (envelope-from lists@dlfws.net) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9616843D46 for ; Thu, 9 Mar 2006 06:59:53 +0000 (GMT) (envelope-from lists@dlfws.net) Received: from [192.168.15.215] (really [69.175.44.47]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060309065952.ZPEK21538.mta9.adelphia.net@[192.168.15.215]> for ; Thu, 9 Mar 2006 01:59:52 -0500 Message-ID: <440FD264.1020206@dlfws.net> Date: Wed, 08 Mar 2006 22:59:48 -0800 From: Demian User-Agent: Thunderbird 1.5 (X11/20060219) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ATA Raid (Adaptec 1200A) on Freebsd 6.0 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: Thu, 09 Mar 2006 06:59:54 -0000 Hello all, I have just recently setup a RAID 1 system running FreeBSD 6.0-RELEASE on an Adpatec 1200A card. Getting the system installed and working seems to have been the easy part. What I am trying to do now is find a simple and reliable way to monitor the array. So far I have tried to get raidutil. acccli, and hptraidconf (Highpoint software) working. The only thing that works is atacontrol. Here is what I have come to discover (please tell me if I'm wrong) .. raidutil is for asr systems (I'm have ar0) acccli is for aac systems (again, ar0) hptraidconf requires the highpoint driver which I don't seem to need in 6.0. However, the software does work with some minor tweaking of symlinks in /usr/lib. So, here's my question. It is reasonable to setup a cron job to monitor the output of atacontrol status ar0 and if I see anything other than READY, send an alert? I would then use the cards bios to handle the rebuild of the array with the new drive. The other option that I can think of is to load the Highpoint Rocketraid driver but I don't know if that's a good idea or not. I'm assuming the hptraidconf software will detach the controllers if I'm using their driver. However, all I did to get the system installed as to create the array using the cards bios and put the 6.0 disc in. The installer found ar0 and I installed to it. Any help would be greatly appreciated. I've looked and looked all over google and the this mailing list but most posts are about different cards using asr. Thanks much, Demian p.s. Here is some info that my prove useful FreeBSD godzilla 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Wed Mar 8 21:40:38 PST 2006 root@godzilla:/usr/src/sys/i386/compile/GODZILLA i386 [root@godzilla] /usr/home/demian# dmesg | egrep 'HighPoint|ar0' atapci1: port 0xac00-0xac07,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbcff irq 18 at device 9.0 on pci0 ar0: 58644MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master I have three drives connected to the 1200A. FreeBSD is installed on ad4 and mirrored to ad6. ad5 is a stand alone drive. [root@godzilla] /usr/home/demian# atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY [root@godzilla] /usr/home/demian# atacontrol list ATA channel 0: Master: no device present Slave: no device present ATA channel 1: Master: acd0 Slave: no device present ATA channel 2: Master: ad4 ATA/ATAPI revision 7 Slave: ad5 ATA/ATAPI revision 7 ATA channel 3: Master: ad6 ATA/ATAPI revision 7 Slave: no device present