When using the SMART Drive Status modulel on a system with multiple drives, several drives incorrectly state that "SMART Enabled? No" when selected. As such, the module does not display any additional SMART attributes. However, running smartctl from the command line:
[user@localhost]~ smartctl -a /dev/sdb
reveals SMART support is indeed available and enabled for all drives, including drives the Webmin module lists as "SMART Enabled? No."
The issue seems to happen more often if the drives in question are attached via external enclosure, however this seemingly shouldn't make a difference as smartctl sees the drives just fine and returns full attributes.
Currently experiencing this problem on a system running CentOS 7.2.1511 (with SMARTsuite v. 6.2) and RHEL 6.8 (with SMARTsuite v. 5.43).
Are the problem drives connected via any kind of hardware RAID device?
Also, what does the command
smartctl -i /dev/sdboutput?The problem drives are not connected to a hardware RAID controller, but they are configured as a software RAID array (via mdadm).
Doing
smartctl -i /dev/sdbgives the following output:When viewing the drive via Webmin, the "status" box states:
In your
/etc/webmin/smart-status/configfile, do you have the lineata=1? If so, try changing it toata=0Ah, there we go. It was originally set to
ata=1. Changing it toata=0appears to fix the problem; selecting a drive that previously failed to display properly in Webmin now shows full drive information (and the statuses for "Supports SMART" and "SMART enabled" are now "yes").Sorry about that. I assume this is the flag for
Force ATA Query Mode? I would not have thought that flag would make such a difference. Thanks!Yes, that corresponds to "Force ATA Query Mode". It should be off by default though.
Ok. To the best of my knowledge, I did not turn it on, so I assume that a recent build/version of Webmin has this switch set to "on" by default.
Ok, I see now - that option is on by default on CentOS systems, but really it doesn't need to be on CentOS 7+. I'll fix this default in the next Webmin release.