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 11.3 platform.
Download (HTTP): https://downloads.sourceforge.net/smartmontools/smartmontools-7.3.tar.gz
Download MD5 sum: 7a71d388124e3cd43abf6586a43cb1ff
Download size: 1 MB
Estimated disk space required: 30 MB
Estimated build time: 0.2 SBU
cURL-7.88.1 or Lynx-2.8.9rel.1 or Wget-1.21.3 (download tools), and GnuPG-2.4.0 (encrypted hard disks)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/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.3 && make
This package does not come with a test suite.
Now, as the root
user:
make install
--with-initscriptdir=no
: This switch suppresses
the default initialization script. See below for the BLFS script.
--with-libsystemd=no
: This switch disables support
for the sd-notify notification system provided by systemd.
See the embedded comments in /etc/smartd.conf
for detailed instructions on customizing the
smartd daemon.
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-20230101 package.
make install-smartd