unix

How can I monitor my RAID controller and drives with mpt-status?

You can download mpt-status from http://freshmeat.net/projects/mptstatus/.

Run make and make install.

Then run:

mknod /dev/mptctl c 10 220

and

modprobe mptctl

Then run mpt-status

If mpt-status reports any issues, you can run

mpt-status -p

It will report information about the RAID controller. You can use it to run mpt-status with the -i flag.

Ex. mpt-status -i 2

A compiled mpt-status command can be downloaded from here:

http://www.mytechforum.com/wp-content/uploads/2011/03/mpt-status.txt

To do so, run

wget http://www.mytechforum.com/wp-content/uploads/2011/03/mpt-status.txt -O /usr/local/bin/mpt-status

Then run

mknod /dev/mptctl c 10 220

and

modprobe mptctl

The output of the mpt-status command should look similar to this:

ioc0 vol_id 2 type IM, 2 phy, 67 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 4 SEAGATE ST973401LSUN72G 0556, 68 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 3 SEAGATE ST973401LSUN72G 0556, 68 GB, state ONLINE, flags NONE

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top