LSI RAID1 status
To monitor the RAID1 status on the servers t3admin01, t3ce01 and t3se01 I installed the utlity
mpt-status, manually loaded the driver 'mptctl', updated /etc/modprobe.conf and created a daily cron:
[root@t3admin01 ~]# cat /etc/cron.daily/check_LSI_RAID1.cron
#!/bin/bash
#
# by martinelli
echo LSI RAID1 status
/usr/sbin/mpt-status -s
[root@t3admin01 ~]# lsmod | grep mptctl
mptctl 58057 1
mptbase 92641 3 mptctl,mptsas,mptscsih
scsi_mod 186361 9 mptctl,sr_mod,sg,usb_storage,libata,mptsas,mptscsih,scsi_transport_sas,sd_mod
[root@t3admin01 ~]# /usr/sbin/mpt-status -s
vol_id:0 OPTIMAL
phys_id:1 ONLINE
phys_id:0 ONLINE
phys_id:1 100%
phys_id:0 100%
[root@t3admin01 ~]# grep mptctl /etc/modprobe.conf
alias scsi_hostadapter5 mptctl
--
FabioMartinelli - 2011-02-23