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