Freebsd SMART configuration
- Install
smartmontoolspackage.
sudo pkg install -y smartmontools
- Check list of local disks.
sudo smartctl --scan
/dev/ada0 -d atacam # /dev/ada0, ATA device
- Create config file:
/usr/local/etc/smartd.conf
/dev/ada0 -a -d atacam -m root@localhost -s S/../.././15
NOTE:
S/../.././15says: run a Short test every day during the 15th hour.
smartddoes not schedule via cron. Instead, it polls every 30 minutes
- Enable at boot and start
smartd
sysrc smartd_enable=YES
service smartd start