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

I just configured a Debian server as follows
apt-get install smartmontools
vi /etc/default/smartmontools - and here uncommented these 2 lines
# uncomment to start smartd on system startup
# uncomment to pass additional options to smartd on startup

Then I edited /etc/smartd.conf and uncommented only this line
DEVICESCAN -S on -o on -a -m -s (S/../.././02|L/../../6/03)

I was wondering if this is enough for the system to send me an alert message when something goes wrong and/or if there is a way to simulate a problem and see if smartd sends me warnings by email.

share|improve this question
up vote 8 down vote accepted

You can test the configuration by adding -M test to the line that begins with DEVICESCAN. The next time you restart smartd, it will send out an email notification.

share|improve this answer
Thank you, that was it! – Alex Flo Sep 12 '12 at 14:15

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.