Results 1 to 2 of 2
Cross-post from Mandriva since it did not receive any feedback there. Hello, I am trying to setup smart monitoring using smartd but it refuses to start. I have installed smartmontools ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-19-2011 #1
Help with setting up S.M.A.R.T monitoring
I am trying to setup smart monitoring using smartd but it refuses to start.
I have installed smartmontools and I am able to run smartctl -i /dev/[device] for all my drives and see that they are smart enabled.
However, when I try to run service smartd start it fails:
# service smartd start Starting smartd (via systemctl): Job failed. See system logs and 'systemctl status' for details. [FAILED]
Oct 16 00:02:10 holisrv2 systemd: Failed to load environment files: No such file or directory Oct 16 00:02:10 holisrv2 systemd: smartd.service failed to run 'start' task: No such file or directory
I have looked around a bit and I have /etc/smartd.conf with the following content:
# Sample configuration file for smartd. See man smartd.conf. DEVICESCAN -S on -o on -a -I 194 -m email@example.com -s (S/../.././02|L/../../6/03)
# cat /etc/default/smartmontools # Defaults for smartmontools initscript (/etc/init.d/smartmontools) # This is a POSIX shell fragment # List of devices you want to explicitly enable S.M.A.R.T. for # Not needed (and not recommended) if the device is monitored by smartd #enable_smart="/dev/hda /dev/hdb" # uncomment to start smartd on system startup start_smartd=yes # uncomment to pass additional options to smartd on startup smartd_opts="--interval=1800"
# Source function library . /etc/rc.d/init.d/functions # Source configuration file [ -r /etc/sysconfig/smartd ] && . /etc/sysconfig/smartd
I appreciate any help I can get.
- 10-19-2011 #2
- Join Date
- May 2004
- arch linux
Sorry, but duplicates are not allowed:
Feel free to bump your original thread, or you can ask any moderator to move it to another forum if you wish.