Last active
August 29, 2015 14:11
-
-
Save technolo-g/b8c7450655df4b7d57b0 to your computer and use it in GitHub Desktop.
LSI Megraid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install | |
Download the package here http://www.lsi.com/support/Pages/download-results.aspx?keyword=megacli | |
Extract it | |
On RHEL, Install the rpm under Linux | |
On Ubuntu: | |
apt-get install rpm2cpio | |
cd Linux; rpm2cpio MegaCli-*.rpm | cpio -idmv | |
# Usage | |
List all physical disks: | |
MegaCli64 -PDList -aALL | |
List all logical disks: | |
MegaCli64 -LDInfo -Lall -aALL | |
Blink phyiscal disk 252:5 | |
MegaCli64 -PdLocate -start -physdrv\[252:5\] -aALL | |
Stop blinking | |
MegaCli64 -PdLocate -stop -physdrv\[252:5\] -aALL | |
Turn off alarm | |
MegaCli64 -AdpSetProp AlarmSilence -aALL | |
Links: | |
http://erikimh.com/megacli-cheatsheet/ | |
http://thatlinuxbox.com/blog/article.php/lsi-megaraid-megacli | |
http://www.watters.ws/mediawiki/index.php/RAID_controller_commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment