A few pointers for people trying to get Dell’s PERC 6/i RAID monitoring working under Ubuntu, and any other linux for that matter. It also applies to PERC 5/i too, and… other stuff 🙂
First, visit Dells Linux site. Have a poke about, see what’s there.
Next, we need to download a tool to get information from your array. Download LSI’s MegaRAID CLI tool for linux. It comes as a .RPM, so if you’re an ubuntu user, you can convert it to a .deb using alien, or convert it to a .tar.gz.
# alien --to-tgz MegaCli-1.01.39-0.i386.rpm
You then have a CLI tool you can use to get all your data now! For example:
# ./opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL | grep State
State: Optimal
One thing I spent a while figuring out was how to get the rebuild progress, so here’s how:
# ./opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -PhysDrv [32:1] -aALL
There’s also a really useful cheat sheet for common tasks
Don’t forget to actually monitor this output with nagios, or your favorite monitoring tool!
if you looking for megacli megasasctl megactl for debian or ubuntu
http://hwraid.le-vert.net/wiki/DebianPackages
works fine for me on a dell PowerEdge R610 with PERC 6.
lspci : RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)
The link to the CLI toolkit is wrong youǘe got http://www.lsil.com instead of lsi.com
Can your instruction also be used with a PERC 5/i from a PowerEdge 1950 server ?
Updated link to MegaCLI:
http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.04.07_MegaCLI.zip
Many thanks for this, it works like a charm !
None of the download links worked any more… I was able to find a working binary at http://upload.hshh.org/homes/public/temp/megaraid/8.04.07_MegaCLI.zip inside several layers of zip files. Don’t know how trustworthy it is.
From this article:
https://www.dell.com/support/article/en-us/sln292232/extracting-the-raid-controller-logs-via-megacli?lang=en
I found the download link as:
http://docs.avagotech.com/docs/12351587?_ga=2.81670295.1654370925.1557214314-814067834.1557214314