From owner-freebsd-stable@FreeBSD.ORG Fri Nov 17 19:59:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC4916A501 for ; Fri, 17 Nov 2006 19:59:49 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF0D343D45 for ; Fri, 17 Nov 2006 19:59:48 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id kAHJxgb4028997; Fri, 17 Nov 2006 12:59:47 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <455E14AC.7070906@samsco.org> Date: Fri, 17 Nov 2006 12:59:40 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Vivek Khera References: <36FBC1D2-9F33-4EA1-B93D-EB4C2B1253E8@khera.org> <20061116003422.GC942@tigerfish2.my.domain> <35A2EF81-7D7B-4A8A-9101-5AEFEB3ED057@khera.org> In-Reply-To: <35A2EF81-7D7B-4A8A-9101-5AEFEB3ED057@khera.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: FreeBSD Stable Subject: Re: adaptec utilities on amd64? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 19:59:49 -0000 Vivek Khera wrote: > > On Nov 15, 2006, at 7:34 PM, Bruce Burden wrote: > >> I have a 2230SLP that I will be installing early next week >> on my AMD64 implementation. I am hoping that the aaccli program >> in ports will work. > > If it has the newer firmware, it will not work with aaccli. If you got > the card after they switched to the "R" revision, you have the newer > firmware. > > Some time long ago, someone posted a very short C program that probes > the LSI controller and spits out this kind of output: > > [root@d03]# amrstat > Drive 0: 34.18 GB, RAID1 > optimal > Drive 1: 102.54 GB, RAID1 > optimal > > This is the kind of output I'd love to get from my adaptec controllers, > too. This can be trivially scripted and hooked into a monitoring system > like nagios. > > The aaccli tool is a curses based app (despite the "cli" in the name) > and scripting it is damn near impossible. It doesn't even read commands > from stdin! > Yes, scripting it is possible, and it does have a non-interactive mode. Try the following: printf "open aac0\ncontroller details\nexit\n" | aaccli Scott