Smartd failed to start, but shows as "on" in WebGUI
After upgrading to FreeNAS-9.3-STABLE-201502232343 the following is shown in the footer:
Feb 25 20:18:06 dev-nas-01 smartd4073: Unable to register SCSI device /dev/da12 at line 4 of file /usr/local/etc/smartd.conf
Feb 25 20:18:06 dev-nas-01 smartd4073: Unable to register device /dev/da12 (no Directive -d removable). Exiting.
Feb 25 20:18:06 dev-nas-01 root: /etc/rc: WARNING: failed to start smartd
The WebGUI showed SMART was "ON". So I stopped it.
Feb 25 20:21:25 dev-nas-01 notifier: Will not 'stop' smartd because smartd_enable is NO.
Then I tried to start it again.
Feb 25 20:21:27 dev-nas-01 notifier: Starting smartd.
Feb 25 20:21:27 dev-nas-01 smartd5792: Unable to register SCSI device /dev/da12 at line 4 of file /usr/local/etc/smartd.conf
Feb 25 20:21:27 dev-nas-01 smartd5792: Unable to register device /dev/da12 (no Directive -d removable). Exiting.
Feb 25 20:21:27 dev-nas-01 root: /usr/local/etc/rc.d/smartd: WARNING: failed to start smartd
Now the SMART switch stays in "OFF"
Debug is attached in case it is desired.
#5 Updated by Jordan Hubbard over 5 years ago
- Target version changed from Unspecified to 136
I think we should save the refactor for 10. At some point, we have to simply declare what we have in 9.3 good enough and just fix bugs but resist the temptation to hack on the infrastructure or we'll never switch over to working on the new hotness.
#9 Updated by William Grzybowski over 5 years ago
This is a design problem of the services management in 9.x that exists since day 1 (8.x). The bits are overloaded and there is no status to indicate "this service is enabled by the user" vs "this service is not running right now".
I suggest this to be moved to 10.
#11 Updated by Erin Clark over 5 years ago
- Status changed from Screened to Fix In Progress
fa93c7113aa29ac0b398a4fdb8540cd9c4976951 should fix most issues where a drive is set to have smart on but is not enabled once it makes it to a SU, I had Cyberjock test last night's nightly which has that commit and he confirmed it working