View SMART data of disks for Dell PERC and LSI MegaRAID

Posted on August 8, 2014 Comments

Dell’s PERC 6/i is really just an LSI MegaRAID controller rebranded. Because of this, you can use the megaraid parameter in smartmontools to view hard disk health status. All of this information is accessable via Dell OpenManage, but if you prefer to just look it up yourself from time to time without having to use the GUI, this is how.

The syntax for checking a disk within a MegaRAID based controller is as follows via CLI:

Replace “n” with the disk number in the array you are trying to read, and x with the value. Not sure? Find the array on your system. In this example we’ll check a RAID 1 instances (2x500GB drives).

The fdisk results show a single 499.6GB drive, this is our RAID 1 array. We can’t To check the first disk in the array, replace “n” with zero. (This is because in computing we always start with “0”, so the “first” drive is technically drive zero).

And this returns the health of HDD #1, or the “second” disk in the array:

Depending on your array you will need to adjust the number.