Recently I ran into an odd recurring message in the log files of some 64-bit Debian servers I had setup, and although it wasn’t causing me any problems per se, I hate for things to just go on like that and not know why and what to do about it. Now, these were virtual machines (VMs on ESX 4), running the latest Debian Linux 64-bit, and therefore being virtual they had to specialized RAID hardware or anything like that dedicated to the servers themselves. The servers just had your regular virtual SCSI disks as if it was a physical box with single drives in it.
What I noticed in the logs was an error pertaining to mpt-statusd, and that it was detecting “non-optimal” RAID status. Well, duh, there’s no RAID in it! Of course it won’t be optimal. Here is what I was getting, and you can see from the time stamps of this snippet that I was getting quite a few:
Aug 3 18:58:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:08:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:18:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:28:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:38:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:48:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 19:58:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:08:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:18:36 mail mpt-statusd: detected non-optimal RAID status
Aug 3 20:28:36 mail mpt-statusd: detected non-optimal RAID status
After I did some digging into this mpt-statusd package, I found that it’s main purpose is to check on the RAID status out of mpt and other controllers, which explains why it was complaining since as I said above, there was no RAID installed. Here is the full description of mpt-statusd:
“Description: get RAID status out of mpt (and other) HW RAID controllers The mpt-status software is a query tool to access the running configuration and status of LSI SCSI HBAs. mpt-status allows you to monitor the health and status of your RAID setup. Tag: role::program”
The fix for this is to uninstall mpt-status, assuming you don’t have RAID setup on your server. Once I removed the package, my log files where free from the unnecessary clutter! I still don’t know what the trigger was that got it installed in the first place, but at least it was easy enough to remove once I found out I didn’t need it.