Saturday, December 31, 2011

MegaRaid statsus monitoring


 cd /usr/src/

 wget ftp://tsupport:tsupport@ftp0.lsil.com/private/MegaRAID/downloads/8.00.23_Linux_MegaCLI.zip
 unzip 8.00.23_Linux_MegaCLI.zip
 yum localinstall MegaCli-8.00.23-1.i386.rpm
 yum localinstall Lib_Utils-1.00-08.noarch.rpm --nogpgcheck
 yum localinstall MegaCli-8.00.23-1.i386.rpm --nogpgcheck
 cd /opt/MegaRAID/MegaCli/
 chmod 777 MegaCli64
 ./MegaCli64 -AdpAllInfo -a0

A simple and quick way to get a status of the adapters and devices in the RAID array using megacli is to run the following command:
 ./MegaCli64 -AdpAllInfo -aALL

To get more detailed information on the drives in the array, issue the command:
 ./MegaCli64 -LDPDInfo -aAll



In order to find out what drive is failed, it is actually the absence of information that shows this. Issue the following command:
 ./MegaCli64 -PDList -aALL

No comments:

Post a Comment