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 " ">
|
---|
10 | <!ENTITY smartmontools-md5sum "093aeec3f8f39fa9a37593c4012d3156">
|
---|
11 | <!ENTITY smartmontools-size "836 KB">
|
---|
12 | <!ENTITY smartmontools-buildsize "21 MB">
|
---|
13 | <!ENTITY smartmontools-time "0.2 SBU">
|
---|
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 |
|
---|
40 | &lfs7a_checked;
|
---|
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 |
|
---|
100 | <sect3>
|
---|
101 | <title>Configuration Information</title>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | See the embedded comments in <filename>/etc/smartd.conf</filename>
|
---|
105 | for detailed instructions on customizing the
|
---|
106 | <application>smartd</application> darmon.
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | </sect3>
|
---|
110 |
|
---|
111 | <sect3 id="smartmontoools-init" revision="sysv">
|
---|
112 | <title>Boot Script</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | If you want the <application>smartd</application> daemon to
|
---|
116 | start automatically when the system is booted, install the
|
---|
117 | <filename>/etc/rc.d/init.d/smartd</filename> init script included
|
---|
118 | in the <xref linkend="bootscripts"/> package.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <indexterm zone="smartmontools smartmontoools-init">
|
---|
122 | <primary sortas="f-smartd">smartd</primary>
|
---|
123 | </indexterm>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>make install-smartd</userinput></screen>
|
---|
126 |
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="commands">
|
---|
132 | <title>Command Explanations</title>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
|
---|
136 | the default initialization script. See above for the BLFS script.
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="content">
|
---|
142 | <title>Contents</title>
|
---|
143 |
|
---|
144 | <segmentedlist>
|
---|
145 | <segtitle>Installed Programs</segtitle>
|
---|
146 | <segtitle>Installed Libraries</segtitle>
|
---|
147 | <segtitle>Installed Directories</segtitle>
|
---|
148 |
|
---|
149 | <seglistitem>
|
---|
150 | <seg>
|
---|
151 | smartctl, smartd, and update-smart-drivedb
|
---|
152 | </seg>
|
---|
153 |
|
---|
154 | <seg>
|
---|
155 | None
|
---|
156 | </seg>
|
---|
157 |
|
---|
158 | <seg>
|
---|
159 | /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
|
---|
160 | /etc/smartd_warning.d
|
---|
161 | </seg>
|
---|
162 |
|
---|
163 | </seglistitem>
|
---|
164 | </segmentedlist>
|
---|
165 |
|
---|
166 | <variablelist>
|
---|
167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
168 | <?dbfo list-presentation="list"?>
|
---|
169 | <?dbhtml list-presentation="table"?>
|
---|
170 |
|
---|
171 | <varlistentry id="smartctl">
|
---|
172 | <term><command>smartctl</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>is the control and monitor utility for SMART Disks.</para>
|
---|
175 | <indexterm zone="smartmontools smartctl">
|
---|
176 | <primary sortas="b-smartctl">smartctl</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="smartd">
|
---|
182 | <term><command>smartd</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>is the SMART disk monitoring daemon.</para>
|
---|
185 | <indexterm zone="smartmontools smartd">
|
---|
186 | <primary sortas="b-smartd">smartd</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="update-smart-drivedb">
|
---|
192 | <term><command>update-smart-drivedb</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>is th eupdate tool for the smartmontools drive database.</para>
|
---|
195 | <indexterm zone="smartmontools update-smart-drivedb">
|
---|
196 | <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | </variablelist>
|
---|
202 | </sect2>
|
---|
203 | </sect1>
|
---|