Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My server has 2 harddisks. I've installed smartmontools on Debian with apt-get install smartmontools, enabled it in /etc/default/smartmontools (start_smartd=yes) and started the daemon (/etc/init.d/smartmontools start).

My /etc/smartd.conf contains this:

DEVICESCAN -d removable -n standby -m -M exec /usr/share/smartmontools/smartd-runner

Is the smartmontools now configured to run regular health checks? If so, how do I see when it does that? I don't see any indication in smartctl -l selftest of health checks being run regularly; the command only showed the two tests I recently ran manually. I also don't see anything in /var/log/messages that indicates regular health checks are being run.

share|improve this question

If it is running them, then they will show up in -l selftest and syslog. I don't have experience with the DEVICESCAN option, you can probably add a -s directive on the DEVICESCAN line to enable scheduled scanning.

I have my disks individually configured with:

/dev/sda -d ata -a -s (S/../.././06|L/../../6/06) -m <email>

That does a short test every morning and a long test on Saturdays.

If you add specific configuration for your disks, then comment out the DEVICESCAN entry.

share|improve this answer
I can also use -s ... in combination with DEVICESCAN, right? – Hongli Lai Apr 23 '11 at 21:21
@Hongli I believe so, I just haven't done it myself. – Andy Apr 23 '11 at 21:43

For notifications there is smart-notifier.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.