On Thu, 11 Feb 2010, Arvind Navale wrote:
I am running RHEL-v5.3 OS on a Sun Fire x4240 hardware platform. I have
mirrored 2 internal drives using the LSI logic raid card to provide fault
tolerance for OS disk in the event of single disk failure. I want to
monitor health of the mirror raid volume from OS and get notified when one
of the drive fails. I am told to look for MPT SAS driver which I can
install on the OS. I was look around to find latest drivers for RHEL-v5.3
and did not find one. Can anyone please point me to one?
I installed the mpt-status RPM. It provides output like the following:
# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 135 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 4 FUJITSU MBB2147RCSUN146G 0505, 136 GB, state ONLINE,
flags NONE
ioc0 phy 0 scsi_id 1 FUJITSU MBB2147RCSUN146G 0505, 136 GB, state ONLINE,
flags NONE
# mpt-status -s
log_id 0 OPTIMAL
phys_id 1 ONLINE
phys_id 0 ONLINE
Which is easily parsable with a cron job of your own writing. I got it from
http://www.drugphish.ch/~ratz/mpt-status/RPMS/1.2.0_RC7/ and it has been
rock solid for years now.
Things I had to do to make it work (you may not need to do the latter two):
rpm --install mpt-status-1.2.0_RC7-3.i386.rpm
echo "alias char-major-10-220 mptctl" >> /etc/modprobe.conf
/sbin/modprobe mptctl
Ben
--
Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
Life Is Short. It's All Good.
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list