[CentOS] LSI MegaRAID system status

Thu Jul 30 13:20:30 UTC 2009
Matty <matty91 at gmail.com>

On Wed, Jul 29, 2009 at 11:17 PM, Raymond Lillard<rlillard at sonic.net> wrote:
>
> Dear list,
>
> I have inherited a CentOS-5 box with a LSI Sata Raid controller.
> It is configured as a RAID5 w/hot-standby.  My concern is that
> I have no present means of determining the RAID status w/o
> downing the system and going into the bios to get status.  If
> a disk has failed and brought the standby disk online, I would
> like to know about it, the day it happens by seeing it in syslog
> or getting an e-mail message.
>
> The only solution I have found is on the LSI web-site.  It is
> tool called "MegaMon for Linux".  It most recent release was
> in 2005 and it requires that I use their driver.  Just the
> package title gives me chills.  It runs as a daemon and is
> almost constantly polling the h/w .
>
> I would much prefer a simple command line tool that I can
> wrap a script around and run it under cron.
>
> My questions are:
>
> 1.  Does anyone know of a command line tool ?

I've had pretty good luck with mpt-status:

http://prefetch.net/blog/index.php/2009/04/18/compiling-mpt-status-on-centos-hosts/

http://prefetch.net/blog/index.php/2007/02/03/monitoring-lsi-logic-raid-controllers/


> 2.  Failing a positive response to #1, has anyone any experience
>    with "MegaMon for Linux", good or otherwise ?

I haven't had a chance to look at MegaMon, but would love to hear your
thoughts if you get a chance to play with it.

- Ryan
--
http://prefetch.net