Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 94B5F9FA4B4 for ; Mon, 5 Mar 2007 21:32:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 72417-01-2 for ; Mon, 5 Mar 2007 21:32:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id 3A5969FB1BB for ; Mon, 5 Mar 2007 21:32:16 -0400 (AST) Received: from trofast.ipv6.sesse.net ([2001:700:300:1803:20e:cff:fe36:a766] helo=trofast.sesse.net) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1HOOXG-0003vz-I6 for pgsql-performance@postgresql.org; Tue, 06 Mar 2007 02:32:14 +0100 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1HOOWo-0006i5-00 for ; Tue, 06 Mar 2007 02:31:46 +0100 Date: Tue, 6 Mar 2007 02:31:46 +0100 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Opinions on Raid Message-ID: <20070306013146.GA25687@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <1172581920.28858.1176750095@webmail.messagingengine.com> <45E4C1EC.2070807@polimetrix.com> <45E95C48.4000407@tweakers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <45E95C48.4000407@tweakers.net> X-Operating-System: Linux 2.6.19 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.065 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/112 X-Sequence-Number: 23517 On Sat, Mar 03, 2007 at 12:30:16PM +0100, Arjen van der Meijden wrote: > If you have a MegaCLI-version, I'd like to see it, if possible? That > would definitely save us some reinventing the wheel :-) A friend of mine just wrote MegaCli -AdpAllInfo -a0|egrep ' (Degraded|Offline|Critical Disks|Failed Disks)' | grep -v ': 0 $' which will output errors if there are any, and none otherwise. Or just add -q to the grep and check the return status. (Yes, simplistic, but often all you want to know is if all's OK or not...) /* Steinar */ -- Homepage: http://www.sesse.net/