source: postlfs/filesystems/smartmontools.xml@ 73d98d49

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 73d98d49 was 73d98d49, checked in by Ken Moffat <ken@…>, 4 years ago

Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22707 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.9 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 "430cd5f64caa4524018b536e5ecd9c29">
10 <!ENTITY smartmontools-size "952 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 &lfs91_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), and
70 <xref role="runtime" linkend="gnupg2"/> (encrypted hard disks)
71 </para>
72
73 <para condition="html" role="usernotes">
74 User Notes: <ulink url="&blfs-wiki;/smartmontools"/>
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 revision="sysv"><userinput>./configure --prefix=/usr \
87 --sysconfdir=/etc \
88 --with-initscriptdir=no \
89 --with-libsystemd=no \
90 --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &amp;&amp;
91make</userinput></screen>
92
93<screen revision="systemd"><userinput>./configure --prefix=/usr \
94 --sysconfdir=/etc \
95 --with-initscriptdir=no \
96 --docdir=/usr/share/doc/smartmontools-&smartmontools-version; &amp;&amp;
97make</userinput></screen>
98
99 <para>This package does not come with a test suite.</para>
100
101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="configuration">
110 <title>Configuring smartmontools</title>
111
112 <sect3 id="smartmontools-config">
113 <title>Config File</title>
114 <para>
115 <filename>/etc/smartd.conf</filename>
116 </para>
117
118 <indexterm zone="smartmontools smartmontools-config">
119 <primary sortas="e-etc-smartd.conf">/etc/smartd.conf</primary>
120 </indexterm>
121 </sect3>
122
123 <sect3>
124 <title>Configuration Information</title>
125
126 <para>
127 See the embedded comments in <filename>/etc/smartd.conf</filename>
128 for detailed instructions on customizing the
129 <application>smartd</application> darmon.
130 </para>
131
132 </sect3>
133
134 <sect3 id="smartmontoools-init" revision="sysv">
135 <title>Boot Script</title>
136
137 <para>
138 If you want the <application>smartd</application> daemon to
139 start automatically when the system is booted, install the
140 <filename>/etc/rc.d/init.d/smartd</filename> init script included
141 in the <xref linkend="bootscripts"/> package.
142 </para>
143
144 <indexterm zone="smartmontools smartmontoools-init">
145 <primary sortas="f-smartd">smartd</primary>
146 </indexterm>
147
148<screen role="root"><userinput>make install-smartd</userinput></screen>
149
150 </sect3>
151
152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
157 <para>
158 <parameter>--with-initscriptdir=no</parameter>: This switch suppresses
159 the default initialization script. See above for the BLFS script.
160 </para>
161
162 </sect2>
163
164 <sect2 role="content">
165 <title>Contents</title>
166
167 <segmentedlist>
168 <segtitle>Installed Programs</segtitle>
169 <segtitle>Installed Libraries</segtitle>
170 <segtitle>Installed Directories</segtitle>
171
172 <seglistitem>
173 <seg>
174 smartctl, smartd, and update-smart-drivedb
175 </seg>
176
177 <seg>
178 None
179 </seg>
180
181 <seg>
182 /usr/share/smartmontools, /usr/share/doc/smartmontools-6.4, and
183 /etc/smartd_warning.d
184 </seg>
185
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="smartctl">
195 <term><command>smartctl</command></term>
196 <listitem>
197 <para>is the control and monitor utility for SMART Disks.</para>
198 <indexterm zone="smartmontools smartctl">
199 <primary sortas="b-smartctl">smartctl</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="smartd">
205 <term><command>smartd</command></term>
206 <listitem>
207 <para>is the SMART disk monitoring daemon.</para>
208 <indexterm zone="smartmontools smartd">
209 <primary sortas="b-smartd">smartd</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="update-smart-drivedb">
215 <term><command>update-smart-drivedb</command></term>
216 <listitem>
217 <para>is the update tool for the smartmontools drive database.</para>
218 <indexterm zone="smartmontools update-smart-drivedb">
219 <primary sortas="b-update-smart-drivedb">update-smart-drivedb</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225 </sect2>
226</sect1>
Note: See TracBrowser for help on using the repository browser.