[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 " ">
|
---|
[c17c030] | 9 | <!ENTITY smartmontools-md5sum "430cd5f64caa4524018b536e5ecd9c29">
|
---|
| 10 | <!ENTITY smartmontools-size "952 KB">
|
---|
[c518884] | 11 | <!ENTITY smartmontools-buildsize "26 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 | --with-initscriptdir=no \
|
---|
| 108 | --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &&
|
---|
| 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[29244b7] | 111 | <para>
|
---|
| 112 | This package does not come with a test suite.
|
---|
| 113 | </para>
|
---|
[db6b3391] | 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 120 |
|
---|
[1dd7b0ae] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="configuration">
|
---|
| 124 | <title>Configuring smartmontools</title>
|
---|
| 125 |
|
---|
| 126 | <sect3 id="smartmontools-config">
|
---|
| 127 | <title>Config File</title>
|
---|
| 128 | <para>
|
---|
| 129 | <filename>/etc/smartd.conf</filename>
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <indexterm zone="smartmontools smartmontools-config">
|
---|
| 133 | <primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
[db6b3391] | 137 | <sect3>
|
---|
| 138 | <title>Configuration Information</title>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | See the embedded comments in <filename>/etc/smartd.conf</filename>
|
---|
| 142 | for detailed instructions on customizing the
|
---|
| 143 | <application>smartd</application> darmon.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
[05664c3e] | 148 | <sect3 id="smartmontoools-init" revision="sysv">
|
---|
[db6b3391] | 149 | <title>Boot Script</title>
|
---|
| 150 |
|
---|
| 151 | <para>
|
---|
| 152 | If you want the <application>smartd</application> daemon to
|
---|
| 153 | start automatically when the system is booted, install the
|
---|
| 154 | <filename>/etc/rc.d/init.d/smartd</filename> init script included
|
---|
[05664c3e] | 155 | in the <xref linkend="bootscripts"/> package.
|
---|
[db6b3391] | 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <indexterm zone="smartmontools smartmontoools-init">
|
---|
[05664c3e] | 159 | <primary sortas="f-smartd">smartd</primary>
|
---|
[db6b3391] | 160 | </indexterm>
|
---|
| 161 |
|
---|
| 162 | <screen role="root"><userinput>make install-smartd</userinput></screen>
|
---|
| 163 |
|
---|
| 164 | </sect3>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 role="commands">
|
---|
| 169 | <title>Command Explanations</title>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
[f1d7196] | 172 | <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
|
---|
| 173 | the default initialization script. See above for the BLFS script.
|
---|
[db6b3391] | 174 | </para>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directories</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
| 187 | <seg>
|
---|
| 188 | smartctl, smartd, and update-smart-drivedb
|
---|
| 189 | </seg>
|
---|
| 190 |
|
---|
| 191 | <seg>
|
---|
| 192 | None
|
---|
| 193 | </seg>
|
---|
| 194 |
|
---|
| 195 | <seg>
|
---|
| 196 | /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
|
---|
[b417f2a] | 197 | /etc/smartd_warning.d
|
---|
[db6b3391] | 198 | </seg>
|
---|
| 199 |
|
---|
| 200 | </seglistitem>
|
---|
| 201 | </segmentedlist>
|
---|
| 202 |
|
---|
| 203 | <variablelist>
|
---|
| 204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 205 | <?dbfo list-presentation="list"?>
|
---|
| 206 | <?dbhtml list-presentation="table"?>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="smartctl">
|
---|
| 209 | <term><command>smartctl</command></term>
|
---|
| 210 | <listitem>
|
---|
[29244b7] | 211 | <para>
|
---|
| 212 | is the control and monitor utility for SMART Disks.
|
---|
| 213 | </para>
|
---|
[db6b3391] | 214 | <indexterm zone="smartmontools smartctl">
|
---|
| 215 | <primary sortas="b-smartctl">smartctl</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="smartd">
|
---|
| 221 | <term><command>smartd</command></term>
|
---|
| 222 | <listitem>
|
---|
[29244b7] | 223 | <para>
|
---|
| 224 | is the SMART disk monitoring daemon.
|
---|
| 225 | </para>
|
---|
[db6b3391] | 226 | <indexterm zone="smartmontools smartd">
|
---|
| 227 | <primary sortas="b-smartd">smartd</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="update-smart-drivedb">
|
---|
| 233 | <term><command>update-smart-drivedb</command></term>
|
---|
| 234 | <listitem>
|
---|
[29244b7] | 235 | <para>
|
---|
| 236 | is the update tool for the smartmontools drive database.
|
---|
| 237 | </para>
|
---|
[db6b3391] | 238 | <indexterm zone="smartmontools update-smart-drivedb">
|
---|
| 239 | <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | </variablelist>
|
---|
| 245 | </sect2>
|
---|
| 246 | </sect1>
|
---|