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.rpmSo far, so good. But running the mpt-status led into some error messages:
# rpm -ivh mpt-status-1.2.0_RC7-3.i386.rpm
# mpt-statusOk, there are two errors, first I solved the first error:
open /dev/mptctl: No such file or directory
Try: mknod /dev/mptctl c 10 220
Make sure mptctl is loaded into the kernel
# mknod /dev/mptctl c 10 220Let’s try again to run the mpt-status utility:
# mpt-statusOne of the error messages disappeared, but still, it is not working. Now you have to load the mptctl module:
open /dev/mptctl: No such device
Are you sure your controller is supported by mptlinux?
Make sure mptctl is loaded into the kernel
# modprobe mptctlTry again to run the mpt-status utility, you will see it will work. Enjoy!
Thanks for the post. I was following this instruction when making mpt raid monitoring - http://sysadmin.te.ua/linux/fusion-mptraid-monitoring.html
ReplyDelete