source: postlfs/filesystems/smartmontools.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

  • Property mode set to 100644
File size: 7.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "178d31a6ff5256c093227ab45a3f52aa">
10 <!ENTITY smartmontools-size "1 MB">
11 <!ENTITY smartmontools-buildsize "27 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 &lfs121_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 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of smartmontools</title>
85
86 <para>
87 Install <application>smartmontools</application> by running the
88 following commands:
89 </para>
90
91<screen revision="sysv"><userinput>./configure --prefix=/usr \
92 --sysconfdir=/etc \
93 --with-initscriptdir=no \
94 --with-libsystemd=no \
95 --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &amp;&amp;
96make</userinput></screen>
97
98<screen revision="systemd"><userinput>./configure --prefix=/usr \
99 --sysconfdir=/etc \
100 --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 This package does not come with a test suite.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands" revision="sysv">
116 <title>Command Explanations</title>
117
118 <para>
119 <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
120 the default initialization script. See below for the BLFS script.
121 </para>
122
123 <para>
124 <parameter>--with-libsystemd=no</parameter>: This switch disables support
125 for the sd-notify notification system provided by systemd.
126 </para>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring smartmontools</title>
132
133 <sect3 id="smartmontools-config">
134 <title>Config File</title>
135 <para>
136 <filename>/etc/smartd.conf</filename>
137 </para>
138
139 <indexterm zone="smartmontools smartmontools-config">
140 <primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
141 </indexterm>
142 </sect3>
143
144 <sect3>
145 <title>Configuration Information</title>
146
147 <para>
148 See the embedded comments in <filename>/etc/smartd.conf</filename>
149 for detailed instructions on customizing the
150 <application>smartd</application> daemon.
151 </para>
152
153 </sect3>
154
155 <sect3 id="smartmontoools-init">
156 <title><phrase revision="sysv">Boot Script</phrase>
157 <phrase revision="systemd">Systemd Unit</phrase></title>
158
159 <para revision="sysv">
160 If you want the <application>smartd</application> daemon to
161 start automatically when the system is booted, install the
162 <filename>/etc/rc.d/init.d/smartd</filename> init script included
163 in the <xref linkend="bootscripts"/> package.
164 </para>
165
166
167 <para revision="systemd">
168 If you want the <application>smartd</application> daemon to
169 start automatically when the system is booted, enable the
170 systemd unit provided by the package by executing the
171 following command as the
172 <systemitem class="username">root</systemitem> user:
173 </para>
174
175 <indexterm zone="smartmontools smartmontoools-init">
176 <primary sortas="f-smartd">smartd</primary>
177 </indexterm>
178
179<screen role="root" revision="sysv"><userinput>make install-smartd</userinput></screen>
180
181<screen role="root" revision="systemd"><userinput>systemctl enable smartd</userinput></screen>
182 </sect3>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
195 <seg>
196 smartctl, smartd, and update-smart-drivedb
197 </seg>
198
199 <seg>
200 None
201 </seg>
202
203 <seg>
204 /usr/share/smartmontools,
205 /usr/share/doc/smartmontools-&smartmontools-version;, and
206 /etc/smartd_warning.d
207 </seg>
208
209 </seglistitem>
210 </segmentedlist>
211
212 <variablelist>
213 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
214 <?dbfo list-presentation="list"?>
215 <?dbhtml list-presentation="table"?>
216
217 <varlistentry id="smartctl">
218 <term><command>smartctl</command></term>
219 <listitem>
220 <para>
221 is the control and monitor utility for SMART Disks
222 </para>
223 <indexterm zone="smartmontools smartctl">
224 <primary sortas="b-smartctl">smartctl</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="smartd">
230 <term><command>smartd</command></term>
231 <listitem>
232 <para>
233 is the SMART disk monitoring daemon
234 </para>
235 <indexterm zone="smartmontools smartd">
236 <primary sortas="b-smartd">smartd</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="update-smart-drivedb">
242 <term><command>update-smart-drivedb</command></term>
243 <listitem>
244 <para>
245 is the update tool for the smartmontools drive database
246 </para>
247 <indexterm zone="smartmontools update-smart-drivedb">
248 <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 </variablelist>
254 </sect2>
255
256</sect1>
Note: See TracBrowser for help on using the repository browser.