Ian P. Christian's Personal Blog Random witterings from pookey

16Mar/081

Dell PERC 6/i and RAID monitoring

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!

Comments (1) Trackbacks (0)
  1. 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)


Leave a comment


No trackbacks yet.