From owner-freebsd-questions@FreeBSD.ORG Fri May 16 19:58:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2037106566C for ; Fri, 16 May 2008 19:58:54 +0000 (UTC) (envelope-from chris@smartt.com) Received: from nov.smartt.com (nov.smartt.com [69.31.173.253]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA788FC26 for ; Fri, 16 May 2008 19:58:54 +0000 (UTC) (envelope-from chris@smartt.com) Received: from [69.31.174.220] ([69.31.174.220]) (authenticated bits=0) by nov.smartt.com (8.13.8/8.13.5) with ESMTP id m4GJwr6f004214; Fri, 16 May 2008 12:58:53 -0700 Message-ID: <482DE781.7020306@smartt.com> Date: Fri, 16 May 2008 12:58:57 -0700 From: Chris St Denis User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Robert Jesacher References: <4820B502.8000009@smartt.com> <20080506200245.GA4083@sandvine.com> In-Reply-To: X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_MESSAGE autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on nov.smartt.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: AAC driver. No kernel error messages for failed raid5? 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: Fri, 16 May 2008 19:58:54 -0000 Robert Jesacher wrote: > > On 06.05.2008, at 22:02, Ed Maste wrote: > >> On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: >> >>> I pulled out one of the raid5 drives to test the functionality and >>> noticed that FreeBSD didn't seem to notice the disk failure at all. I >>> was expecting kernel messages about it, but got nothing. >> >> This is missing functionality in the aac(4) driver. For now about >> the best you can do is regularly poll the status using Adaptec's CLI >> tool "arcconf." >> >> -ED > > The tool you need to look into is: sysutils/aaccli . I think arctool > is only for arcmsr-devices. > unfortunately aaccli doesn't provide the possibility to use it with > parameters, so you probably > need to use it with an expect-script. > > On the adaptec 2410SA I activated the "alarm" feature in the > controller bios, which helps me, > because its a home server but this will not help you if your server is > sitting somewhere else. > > Because of this limitation (and a few other things with the > controller) I'm certainly looking for > an other solution. In my case a ZFS-based software RAID will suffice, > but this might not be > desirable for you. > > Take care & good luck, > Robert arcconf from ports works fine. It hangs on exit but does die off eventually and doesn't do any harm sitting in background for a while when run from cron, and from the commandline I can just ^c it. Here is what I used in cron for anyone who is interested: /usr/local/sbin/arcconf GETCONFIG 1 LD | egrep '(name|Status)' It gives results like this which work well. Could probably be incorporated into the daily run output, but I don't know exactly how off hand. Logical device name : Boot mirror Status of logical device : Optimal Logical device name : Data raid5 Status of logical device : Optimal According to arcconf my card doesn't have an audible alarm :(