pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Opinions on Raid
Date: Tue, 6 Mar 2007 02:31:46 +0100
Message-ID: <20070306013146.GA25687@uio.no> (raw)
In-Reply-To: <45E95C48.4000407@tweakers.net>
References: <1172581920.28858.1176750095@webmail.messagingengine.com>
	<45E4C1EC.2070807@polimetrix.com>
	<45E95C48.4000407@tweakers.net>

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/



view thread (10+ messages)

Message-ID: <20070306013146.GA25687@uio.no>
Permalink:  ../20070306013146.GA25687@uio.no/
Also on:    postgresql.org/message-id/20070306013146.GA25687@uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: Opinions on Raid
  In-Reply-To: <20070306013146.GA25687@uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox