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