artis1sysop
Dabbler
- Joined
- Jul 31, 2017
- Messages
- 21
I was getting the "WARNING smartd_daemon is not running" and even after unchecking the S.M.A.R.T. checkbox for the drives, I could still not start the S.M.A.R.T. service.
I looked at the console and it was showing "freenas smartd: Configuration file /usr/local/etc/smartd.conf parsed but has no entries"
So I compared the smartd.conf file in the FreeNAS server (let's call "NAS_B") which is empty except for the remarks block
...to the smartd.conf file from another FreeNAS server (let's call "NAS_A") and saw that it had entries
So I copied the entries and changed the "ada0-3" drive names from the NAS_A conf file to the "da0-3" drive names in NAS_B and saved the smartd.conf file, started the service, and viola! the S.M.A.R.T. service started.
Is this OK? Why are the drives named "ada0-3" in NAS_A but named "da0-3" in NAS_B? Does this have something to do with why S.M.A.R.T. wasn't working until I edited the conf file?
EDIT: NAS_A has the SATA drives connected directly to the motherboard. NAS_B has the SATA drives connected to a Dell Perc controller (but not using hardware RAID)
I looked at the console and it was showing "freenas smartd: Configuration file /usr/local/etc/smartd.conf parsed but has no entries"
So I compared the smartd.conf file in the FreeNAS server (let's call "NAS_B") which is empty except for the remarks block
Code:
################################################ # smartd.conf generated by /etc/ix.rc.d/ix-smartd ################################################
...to the smartd.conf file from another FreeNAS server (let's call "NAS_A") and saw that it had entries
Code:
################################################ # smartd.conf generated by /etc/ix.rc.d/ix-smartd ################################################ /dev/ada0 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/ada1 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/ada3 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/ada2 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py
So I copied the entries and changed the "ada0-3" drive names from the NAS_A conf file to the "da0-3" drive names in NAS_B and saved the smartd.conf file, started the service, and viola! the S.M.A.R.T. service started.
Is this OK? Why are the drives named "ada0-3" in NAS_A but named "da0-3" in NAS_B? Does this have something to do with why S.M.A.R.T. wasn't working until I edited the conf file?
EDIT: NAS_A has the SATA drives connected directly to the motherboard. NAS_B has the SATA drives connected to a Dell Perc controller (but not using hardware RAID)
Last edited: