From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 13 21:57:28 2007 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CF1416A417 for ; Thu, 13 Dec 2007 21:57:28 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id BDE1613C467 for ; Thu, 13 Dec 2007 21:57:27 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <4761AAC1.7060907@intersonic.se> Date: Thu, 13 Dec 2007 22:57:21 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.6 (X11/20071103) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: <4761A06F.8090209@intersonic.se> <17838240D9A5544AAA5FF95F8D52031603068470@ad-exh01.adhost.lan> In-Reply-To: <17838240D9A5544AAA5FF95F8D52031603068470@ad-exh01.adhost.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: can I make amr(4) more noisy? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 21:57:28 -0000 Michael K. Smith - Adhost wrote: > Hello Per: >> I am trying out a MegaRAID SCSI 320 controller, performance is fine but >> dissappointed by the fact that the driver tells you nothing when a >> drive >> goes bad or the array is rebuilt etc. >> >> Am I missing something or must I rely on another piece to get the info >> required? > The application amrstat will give you that information from the command line. We run it from cron and have it send us mail on a daily basis with stats. This is what the output looks like. > > Logical volume 0: optimal (407.92 GB, RAID1) > Physical drive 0:0 online > Physical drive 0:1 online > Physical drive 0:2 online > Physical drive 0:3 online > Physical drive 0:4 online > Physical drive 0:5 online Thanks. Yes, this could be used in a script I suppose to send an alarm. For instance, if the word "optimal" above is not present, I could safely assume something is wrong?