[db6b3391] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY smartmontools-download-http "&sourceforge-dl;/smartmontools/smartmontools-&smartmontools-version;.tar.gz">
|
---|
[db6b3391] | 8 | <!ENTITY smartmontools-download-ftp " ">
|
---|
[730fb6b8] | 9 | <!ENTITY smartmontools-md5sum "e8d134c69ae4959a05cb56b31172ffb1">
|
---|
| 10 | <!ENTITY smartmontools-size "972 KB">
|
---|
| 11 | <!ENTITY smartmontools-buildsize "24 MB">
|
---|
[99bc211] | 12 | <!ENTITY smartmontools-time "0.2 SBU">
|
---|
[db6b3391] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="smartmontools" xreflabel="smartmontools-&smartmontools-version;">
|
---|
| 16 | <?dbhtml filename="smartmontools.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>smartmontools-&smartmontools-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="smartmontools">
|
---|
| 26 | <primary sortas="a-smartmontools">smartmontools</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to smartmontools</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>smartmontools</application> package contains utility
|
---|
| 34 | programs (smartctl, smartd) to control/monitor storage systems using the
|
---|
| 35 | Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.)
|
---|
| 36 | built into most modern ATA and SCSI disks.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[78af2ee] | 39 | &lfs10_checked;
|
---|
[db6b3391] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[29244b7] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&smartmontools-download-http;"/>
|
---|
| 46 | </para>
|
---|
[db6b3391] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[29244b7] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&smartmontools-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[db6b3391] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[29244b7] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &smartmontools-md5sum;
|
---|
| 56 | </para>
|
---|
[db6b3391] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[29244b7] | 59 | <para>
|
---|
| 60 | Download size: &smartmontools-size;
|
---|
| 61 | </para>
|
---|
[db6b3391] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[29244b7] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &smartmontools-buildsize;
|
---|
| 66 | </para>
|
---|
[db6b3391] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[29244b7] | 69 | <para>
|
---|
| 70 | Estimated build time: &smartmontools-time;
|
---|
| 71 | </para>
|
---|
[db6b3391] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">smartmontools Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
[96e9478] | 79 | <xref role="runtime" linkend="curl"/> or
|
---|
| 80 | <xref role="runtime" linkend="lynx"/> or
|
---|
[44453b2] | 81 | <xref role="runtime" linkend="wget"/> (download tools), and
|
---|
| 82 | <xref role="runtime" linkend="gnupg2"/> (encrypted hard disks)
|
---|
[db6b3391] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <para condition="html" role="usernotes">
|
---|
[96e9478] | 86 | User Notes: <ulink url="&blfs-wiki;/smartmontools"/>
|
---|
[db6b3391] | 87 | </para>
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of smartmontools</title>
|
---|
| 92 |
|
---|
| 93 | <para>
|
---|
| 94 | Install <application>smartmontools</application> by running the
|
---|
| 95 | following commands:
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
[6a5bb43] | 98 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
| 99 | --sysconfdir=/etc \
|
---|
| 100 | --with-initscriptdir=no \
|
---|
| 101 | --with-libsystemd=no \
|
---|
| 102 | --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &&
|
---|
| 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
[db6b3391] | 106 | --sysconfdir=/etc \
|
---|
| 107 | --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &&
|
---|
| 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[29244b7] | 110 | <para>
|
---|
| 111 | This package does not come with a test suite.
|
---|
| 112 | </para>
|
---|
[db6b3391] | 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 |
|
---|
[1dd7b0ae] | 120 | </sect2>
|
---|
| 121 |
|
---|
[5a38f35] | 122 | <sect2 role="commands" revision="sysv">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
|
---|
| 127 | the default initialization script. See below for the BLFS script.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | <parameter>--with-libsystemd=no</parameter>: This switch disables support
|
---|
| 132 | for the sd-notify notification system provided by systemd.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[1dd7b0ae] | 137 | <sect2 role="configuration">
|
---|
| 138 | <title>Configuring smartmontools</title>
|
---|
| 139 |
|
---|
| 140 | <sect3 id="smartmontools-config">
|
---|
| 141 | <title>Config File</title>
|
---|
| 142 | <para>
|
---|
| 143 | <filename>/etc/smartd.conf</filename>
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <indexterm zone="smartmontools smartmontools-config">
|
---|
| 147 | <primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </sect3>
|
---|
| 150 |
|
---|
[db6b3391] | 151 | <sect3>
|
---|
| 152 | <title>Configuration Information</title>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | See the embedded comments in <filename>/etc/smartd.conf</filename>
|
---|
| 156 | for detailed instructions on customizing the
|
---|
| 157 | <application>smartd</application> darmon.
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | </sect3>
|
---|
| 161 |
|
---|
[5a38f35] | 162 | <sect3 id="smartmontoools-init">
|
---|
| 163 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 164 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[db6b3391] | 165 |
|
---|
[5a38f35] | 166 | <para revision="sysv">
|
---|
[db6b3391] | 167 | If you want the <application>smartd</application> daemon to
|
---|
| 168 | start automatically when the system is booted, install the
|
---|
| 169 | <filename>/etc/rc.d/init.d/smartd</filename> init script included
|
---|
[05664c3e] | 170 | in the <xref linkend="bootscripts"/> package.
|
---|
[db6b3391] | 171 | </para>
|
---|
| 172 |
|
---|
[5a38f35] | 173 |
|
---|
| 174 | <para revision="systemd">
|
---|
| 175 | If you want the <application>smartd</application> daemon to
|
---|
| 176 | start automatically when the system is booted, enable the
|
---|
| 177 | systemd unit provided by the package by executing the
|
---|
| 178 | following command as the
|
---|
| 179 | <systemitem class="username">root</systemitem> user:
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
[db6b3391] | 182 | <indexterm zone="smartmontools smartmontoools-init">
|
---|
[05664c3e] | 183 | <primary sortas="f-smartd">smartd</primary>
|
---|
[db6b3391] | 184 | </indexterm>
|
---|
| 185 |
|
---|
[5a38f35] | 186 | <screen role="root" revision="sysv"><userinput>make install-smartd</userinput></screen>
|
---|
[db6b3391] | 187 |
|
---|
[5a38f35] | 188 | <screen role="root" revision="systemd"><userinput>systemctl enable smartd</userinput></screen>
|
---|
[db6b3391] | 189 | </sect3>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
| 197 | <segtitle>Installed Programs</segtitle>
|
---|
| 198 | <segtitle>Installed Libraries</segtitle>
|
---|
| 199 | <segtitle>Installed Directories</segtitle>
|
---|
| 200 |
|
---|
| 201 | <seglistitem>
|
---|
| 202 | <seg>
|
---|
| 203 | smartctl, smartd, and update-smart-drivedb
|
---|
| 204 | </seg>
|
---|
| 205 |
|
---|
| 206 | <seg>
|
---|
| 207 | None
|
---|
| 208 | </seg>
|
---|
| 209 |
|
---|
| 210 | <seg>
|
---|
| 211 | /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
|
---|
[b417f2a] | 212 | /etc/smartd_warning.d
|
---|
[db6b3391] | 213 | </seg>
|
---|
| 214 |
|
---|
| 215 | </seglistitem>
|
---|
| 216 | </segmentedlist>
|
---|
| 217 |
|
---|
| 218 | <variablelist>
|
---|
| 219 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 220 | <?dbfo list-presentation="list"?>
|
---|
| 221 | <?dbhtml list-presentation="table"?>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="smartctl">
|
---|
| 224 | <term><command>smartctl</command></term>
|
---|
| 225 | <listitem>
|
---|
[29244b7] | 226 | <para>
|
---|
| 227 | is the control and monitor utility for SMART Disks.
|
---|
| 228 | </para>
|
---|
[db6b3391] | 229 | <indexterm zone="smartmontools smartctl">
|
---|
| 230 | <primary sortas="b-smartctl">smartctl</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="smartd">
|
---|
| 236 | <term><command>smartd</command></term>
|
---|
| 237 | <listitem>
|
---|
[29244b7] | 238 | <para>
|
---|
| 239 | is the SMART disk monitoring daemon.
|
---|
| 240 | </para>
|
---|
[db6b3391] | 241 | <indexterm zone="smartmontools smartd">
|
---|
| 242 | <primary sortas="b-smartd">smartd</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="update-smart-drivedb">
|
---|
| 248 | <term><command>update-smart-drivedb</command></term>
|
---|
| 249 | <listitem>
|
---|
[29244b7] | 250 | <para>
|
---|
| 251 | is the update tool for the smartmontools drive database.
|
---|
| 252 | </para>
|
---|
[db6b3391] | 253 | <indexterm zone="smartmontools update-smart-drivedb">
|
---|
| 254 | <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
| 259 | </variablelist>
|
---|
| 260 | </sect2>
|
---|
| 261 | </sect1>
|
---|