mpt-status failure after linux kernel upgrade
Oh the pain!
So Debian Etch needs another kernel image upgrade, which I dutifully performed and rebooted the system and mpt-status stopped working! I only noticed the problem when I got a warning alert SMS from Nagios, upon further investigation (using mpt-status autoload) I got this error message:-
open /dev/mptctl: No such file or directory
Try: mknod /dev/mptctl c 10 220
Also make sure mptctl is loaded into the kernel
lsmod shows the module isn’t loaded:-
So here’s what I did to fix it, first uninstall the package and reinstall:-
# apt-get install mpt-status
Now load the module:-
Make sure the module is loaded:-
mptctl                22500 0
mptbase               46176 3 mptctl,mptsas,mptscsih
Now enable mpt-status:-
ioc0 vol_id 0 type IM, 2 phy, 278 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 32 SEAGATEÂ ST3300555SSÂ Â Â Â Â T107, 279 GB, state ONLINE, flags NONE
ioc0 phy 0 scsi_id 1 SEAGATEÂ ST3300555SSÂ Â Â Â Â T107, 279 GB, state ONLINE, flags NONE
Now restart all the relevant services:-
# /etc/init.d/dataeng restart
# /etc/init.d/snmpd restart
After this my Nagios plugin worked and started to report the status of the Array correctly, pain over.
Tags: dell openmanage, linux, mpt-status, Nagios, snmp
