FreeNAS® uses the smartd(8) service to monitor disk S.M.A.R.T. data for disk health. To fully configure S.M.A.R.T.:
1. Schedule when to run the S.M.A.R.T. tests.
2. Enable or disable S.M.A.R.T. for each disk member of a volume. By default, this is already enabled on all disks that support S.M.A.R.T.
3. Check the configuration of the S.M.A.R.T. service as described in this section.
4. Start the S.M.A.R.T. service.
Figure 8.12a shows the configuration screen that appears when you click Services → S.M.A.R.T.
Figure 8.12a: S.M.A.R.T Configuration Options
NOTE: smartd will wake up at every Check Interval you configure in Figure 8.12a. It will check schedule you configured (described in Table 4.5a) to see if any tests should be run. Since the smallest time increment for a test is an hour (60 minutes), it does not make sense to set a Check Interval value higher than 60 minutes. For example, if you set the Check Interval for 120 minutes and the smart test to every hour, the test will only be run every 2 hours since the daemon only wakes up every 2 hours.
Table 8.12a summarizes the options in the S.M.A.R.T Configuration screen:
Table 8.12a: S.M.A.R.T Configuration Options
|Check interval||integer||in minutes, how often to wake up smartd to check if any tests have been configured to run|
|Power mode||drop-down menu||the configured test is not performed if the system enters the specified power mode; choices are: Never, Sleep, Standby, or Idle|
|Difference||integer in degrees Celsius||default of 0 disables this check, otherwise reports if the temperature of a driver has changed by N degrees Celsius since last report|
|Informal||integer in degrees Celsius||default of 0 disables this check, otherwise will message with a log level of LOG_INFO if the temperature is higher than N degrees Celsius|
|Critical||integer in degrees Celsius||default of 0 disables this check, otherwise will message with a log level of LOG_CRIT and send an email if the temperature is higher than N degrees Celsius|
|Email to report||string||report option to read: email address of person to receive S.M.A.R.T. alert; separate multiple email recipients with a comma and no space|