[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 |
|
---|
| 7 | <!ENTITY smartmontools-download-http
|
---|
| 8 | "&sourceforge-repo2;/projects/smartmontools/files/smartmontools/&smartmontools-version;/smartmontools-&smartmontools-version;.tar.gz">
|
---|
| 9 | <!ENTITY smartmontools-download-ftp " ">
|
---|
[99bc211] | 10 | <!ENTITY smartmontools-md5sum "093aeec3f8f39fa9a37593c4012d3156">
|
---|
| 11 | <!ENTITY smartmontools-size "836 KB">
|
---|
| 12 | <!ENTITY smartmontools-buildsize "21 MB">
|
---|
| 13 | <!ENTITY smartmontools-time "0.2 SBU">
|
---|
[db6b3391] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="smartmontools" xreflabel="smartmontools-&smartmontools-version;">
|
---|
| 17 | <?dbhtml filename="smartmontools.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>smartmontools-&smartmontools-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="smartmontools">
|
---|
| 27 | <primary sortas="a-smartmontools">smartmontools</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to smartmontools</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>smartmontools</application> package contains utility
|
---|
| 35 | programs (smartctl, smartd) to control/monitor storage systems using the
|
---|
| 36 | Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.)
|
---|
| 37 | built into most modern ATA and SCSI disks.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[4ebade44] | 40 | &lfs80_checked;
|
---|
[db6b3391] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&smartmontools-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&smartmontools-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &smartmontools-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &smartmontools-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &smartmontools-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &smartmontools-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">smartmontools Dependencies</bridgehead>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
|
---|
| 67 | <para role="optional">
|
---|
| 68 | <xref linkend="curl"/> or
|
---|
| 69 | <xref linkend="lynx"/> or
|
---|
| 70 | <xref linkend="wget"/> (download tools)
|
---|
| 71 | </para>
|
---|
| 72 |
|
---|
| 73 | <para condition="html" role="usernotes">
|
---|
| 74 | User Notes: <ulink url="&blfs-wiki;/gptdisk"/>
|
---|
| 75 | </para>
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of smartmontools</title>
|
---|
| 80 |
|
---|
| 81 | <para>
|
---|
| 82 | Install <application>smartmontools</application> by running the
|
---|
| 83 | following commands:
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 87 | --sysconfdir=/etc \
|
---|
| 88 | --with-initscriptdir=no \
|
---|
| 89 | --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &&
|
---|
| 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>This package does not come with a test suite.</para>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 99 |
|
---|
[1dd7b0ae] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="configuration">
|
---|
| 103 | <title>Configuring smartmontools</title>
|
---|
| 104 |
|
---|
| 105 | <sect3 id="smartmontools-config">
|
---|
| 106 | <title>Config File</title>
|
---|
| 107 | <para>
|
---|
| 108 | <filename>/etc/smartd.conf</filename>
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <indexterm zone="smartmontools smartmontools-config">
|
---|
| 112 | <primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 | </sect3>
|
---|
| 115 |
|
---|
[db6b3391] | 116 | <sect3>
|
---|
| 117 | <title>Configuration Information</title>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | See the embedded comments in <filename>/etc/smartd.conf</filename>
|
---|
| 121 | for detailed instructions on customizing the
|
---|
| 122 | <application>smartd</application> darmon.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
[05664c3e] | 127 | <sect3 id="smartmontoools-init" revision="sysv">
|
---|
[db6b3391] | 128 | <title>Boot Script</title>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | If you want the <application>smartd</application> daemon to
|
---|
| 132 | start automatically when the system is booted, install the
|
---|
| 133 | <filename>/etc/rc.d/init.d/smartd</filename> init script included
|
---|
[05664c3e] | 134 | in the <xref linkend="bootscripts"/> package.
|
---|
[db6b3391] | 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="smartmontools smartmontoools-init">
|
---|
[05664c3e] | 138 | <primary sortas="f-smartd">smartd</primary>
|
---|
[db6b3391] | 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | <screen role="root"><userinput>make install-smartd</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | </sect3>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
[f1d7196] | 151 | <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
|
---|
| 152 | the default initialization script. See above for the BLFS script.
|
---|
[db6b3391] | 153 | </para>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
| 166 | <seg>
|
---|
| 167 | smartctl, smartd, and update-smart-drivedb
|
---|
| 168 | </seg>
|
---|
| 169 |
|
---|
| 170 | <seg>
|
---|
| 171 | None
|
---|
| 172 | </seg>
|
---|
| 173 |
|
---|
| 174 | <seg>
|
---|
| 175 | /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
|
---|
[b417f2a] | 176 | /etc/smartd_warning.d
|
---|
[db6b3391] | 177 | </seg>
|
---|
| 178 |
|
---|
| 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
| 181 |
|
---|
| 182 | <variablelist>
|
---|
| 183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 184 | <?dbfo list-presentation="list"?>
|
---|
| 185 | <?dbhtml list-presentation="table"?>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="smartctl">
|
---|
| 188 | <term><command>smartctl</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>is the control and monitor utility for SMART Disks.</para>
|
---|
| 191 | <indexterm zone="smartmontools smartctl">
|
---|
| 192 | <primary sortas="b-smartctl">smartctl</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="smartd">
|
---|
| 198 | <term><command>smartd</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>is the SMART disk monitoring daemon.</para>
|
---|
| 201 | <indexterm zone="smartmontools smartd">
|
---|
| 202 | <primary sortas="b-smartd">smartd</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="update-smart-drivedb">
|
---|
| 208 | <term><command>update-smart-drivedb</command></term>
|
---|
| 209 | <listitem>
|
---|
[e66ebee] | 210 | <para>is the update tool for the smartmontools drive database.</para>
|
---|
[db6b3391] | 211 | <indexterm zone="smartmontools update-smart-drivedb">
|
---|
| 212 | <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | </variablelist>
|
---|
| 218 | </sect2>
|
---|
| 219 | </sect1>
|
---|