Sunday, January 1, 2012

Monitoring LSI RAID adapter with mpt-status

Monitoring LSI RAID adapter with mpt-status
Download and install the mpt-status utility:
# wget http://www.drugphish.ch/~ratz/mpt-status/RPMS/1.2.0_RC7/mpt-status-1.2.0_RC7-3.i386.rpm
# rpm -ivh mpt-status-1.2.0_RC7-3.i386.rpm
So far, so good. But running the mpt-status led into some error messages:
# mpt-status
open /dev/mptctl: No such file or directory
Try: mknod /dev/mptctl c 10 220
Make sure mptctl is loaded into the kernel
Ok, there are two errors, first I solved the first error:
# mknod /dev/mptctl c 10 220
Let’s try again to run the mpt-status utility:
# mpt-status
open /dev/mptctl: No such device
Are you sure your controller is supported by mptlinux?
Make sure mptctl is loaded into the kernel
One of the error messages disappeared, but still, it is not working. Now you have to load the mptctl module:
# modprobe mptctl
Try again to run the mpt-status utility, you will see it will work. Enjoy!

1 comment:

  1. Thanks for the post. I was following this instruction when making mpt raid monitoring - http://sysadmin.te.ua/linux/fusion-mptraid-monitoring.html

    ReplyDelete