星期四, 4月 23, 2015

LSI MegaRaid Monitor @Debian Linux

OS: OpenmediaVault (Debian 7.7)
RAID:MegaRaid 8300 xlp

#wge http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/8.07.10_MegaCLI_Linux.zip

#unzip 8.07.10_MegaCLI_Linux.zip

# cd 8.07.10_MegaCLI_Linux

#rpm2cpio MegaCli-8.07.10-1.noarch.rpm | cpio -idmv

#./opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL

PS.you might need apt-install unzip , apt-install rpm2cpio
Now you can use command to get what you want  
For me ,it's my example.
/root/opt/MegaRAID/MegaCli/MegaCli64 -AdpALLInfo -aALL|grep 'Device Present' -A7

Reference
http://www.how2forge.info/megacli-for-debian-ubuntu/







沒有留言: