Monitor HDD and SSD with SmartD and SmartCTL – The


basic information

smartad is a daemon that monitors the Self-Monitoring, Analysis, and Reporting Technology (SMART) system that is built into most ATA/SATA and SCSI/SAS drives and solid-state drives.

smartctl is a command-line utility designed to perform smart tasks such as printing smart self-test and error logs, enabling and disabling smart automated tests, and starting device self-tests.


Both can be installed with smartmontools in a Debian-like system:

# apt-get install smartmontools

Or CentOS system:

# yum install smartmontools

Basic SmartD Configuration

Here is a basic SmartD configuration to monitor 2 HDD drives. The following lines need to be added /etc/smartd.conf,

/dev/sda -d sat -o on -S on -m [email protected] -M test -a -s (S/../.././01|L/../../6/03)
/dev/sdb -d sat -o on -S on -m [email protected] -M test -a -s (S/../.././01|L/../../6/03)

Basic SmartCTL usage

To check if smart exists on disk:

To get reports about all disk health:

# smartctl -i -a /dev/sda

Add comment

By Ranjan