Slackware HowTo

Configure SMART monitoring with smartd on Slackware

Collect disk health status and receive warnings before obvious failure.

1. Goal

Collect disk health status and receive warnings before obvious failure.

2. Files and components involved

/etc/smartd.conf
/etc/rc.d/rc.smartd
/usr/sbin/smartctl

3. Operational flow

chmod +x /etc/rc.d/rc.smartd
vi /etc/smartd.conf
/etc/rc.d/rc.smartd start

4. Operational verification

smartctl -H /dev/sda
smartctl -a /dev/sda
tail -n 50 /var/log/messages

5. Practical notes

Before touching disks, mounts, and filesystems, note the UUIDs, current outputs, and the latest valid backup available.

When you work on storage and filesystems, the rule stays the same: first identify the right device, then modify, and finally verify.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section