Introduction to smartmontools

The smartmontools package contains utility programs (smartctl, smartd) to control/monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI disks.

This package is known to build and work properly using an LFS-10.0 platform.

Package Information

smartmontools Dependencies

Optional (runtime)

cURL-7.71.1 or Lynx-2.8.9rel.1 or Wget-1.20.3 (download tools), and GnuPG-2.2.21 (encrypted hard disks)

User Notes:

Installation of smartmontools

Install smartmontools by running the following commands:

./configure --prefix=/usr           \
            --sysconfdir=/etc       \
            --with-initscriptdir=no \
            --with-libsystemd=no    \
            --docdir=/usr/share/doc/smartmontools-7.1 &&

This package does not come with a test suite.

Now, as the root user:

make install

Configuring smartmontools

Config File


Configuration Information

See the embedded comments in /etc/smartd.conf for detailed instructions on customizing the smartd darmon.

Boot Script

If you want the smartd daemon to start automatically when the system is booted, install the /etc/rc.d/init.d/smartd init script included in the blfs-bootscripts-20200818 package.

make install-smartd

Command Explanations

--with-initscriptdir=no: This switch suppresses the default initialization script. See above for the BLFS script.


Installed Programs: smartctl, smartd, and update-smart-drivedb
Installed Libraries: None
Installed Directories: /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and /etc/smartd_warning.d

Short Descriptions


is the control and monitor utility for SMART Disks.


is the SMART disk monitoring daemon.


is the update tool for the smartmontools drive database.

Last updated on 2020-08-17 12:49:57 -0700