#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 5. File Systems and Disk Management

- Prev

  parted-3.7

- Next

  sshfs-3.7.5

- Up
- Home

# smartmontools-7.5

## 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.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/smartmontools/smartmontools-7.5.tar.gz

- Download MD5 sum: 38c38b0b82db7fc4906cdd50d15a7931

- Download size: 1.1 MB

- Estimated disk space required: 24 MB

- Estimated build time: 0.2 SBU

### smartmontools Dependencies

#### Optional (runtime)

cURL-8.19.0 or Lynx-2.9.2 or Wget-1.25.0 (download tools), and GnuPG-2.5.19 (encrypted hard disks)

## Installation of smartmontools

Install smartmontools by running the following commands:

    ./configure --prefix=/usr     \
                --sysconfdir=/etc \
                --docdir=/usr/share/doc/smartmontools-7.5 &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Configuring smartmontools

### Config File

`/etc/smartd.conf`

### Configuration Information

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

### Systemd Unit

If you want the smartd daemon to start automatically when the system is booted, enable the systemd unit provided by the package by executing the following command as the `root` user:

    systemctl enable smartd

## Contents

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

### Short Descriptions

smartctl | is the control and monitor utility for SMART Disks
smartd | is the SMART disk monitoring daemon
update-smart-drivedb | is the update tool for the smartmontools drive database

- Prev

  parted-3.7

- Next

  sshfs-3.7.5

- Up
- Home