source: postlfs/filesystems/smartmontools.xml@ 35a47ae8

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 35a47ae8 was 2a7cafa, checked in by Ken Moffat <ken@…>, 17 months ago

Tags

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