source: postlfs/filesystems/smartmontools.xml@ b5645ad

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b5645ad was b5645ad, checked in by Ken Moffat <ken@…>, 3 years ago

Tags.

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