Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have an AMD SB with Raid 1 set up through that. I installed Ubuntu Server with no problems. However I know through windows one can set up SMART Tests with AMD's software. Is there a way to run SMART tests on a recurring schedule in Ubuntu and have it email failures?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Alright I found that smartmontools works even with hardware raid.

sudo apt-get install smartmontools 


smartctl -i /dev/sda 

Turn SMART On for sda

smartctl -s on /dev/sda 

Get estimates

smartctl -c /dev/sda 

Run a long test

smartctl -t long /dev/sda 

Display test results

smartctl -l selftest /dev/sda 
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.