Wednesday, June 13, 2007

SMART disk monitoring

Oh, the drama. When it comes to HDD going down, it's gloves off.

So, to spot bad HDD in a timely manner, I came across the following advice.

Install /usr/ports/systutils/smartmon

and configure it like this (example)
/dev/ad6 -d ata -a -m your@mail.com -M once -s L/../../1/13

this will test device /dev/ad6, -d = device type, -a = all the parameters I need, -m - mail to send report to, M = once - send mail only once -s = perform test on mondays, 13 o'clock.

Basically that's it.

No comments: