Re: Opinions on Raid

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: Opinions on Raid
Дата
Msg-id 20070306013146.GA25687@uio.no
обсуждение исходный текст
Ответ на Re: Opinions on Raid  (Arjen van der Meijden <acmmailing@tweakers.net>)
Список pgsql-performance
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/

В списке pgsql-performance по дате отправления:

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: