source: postlfs/filesystems/lvm2.xml@ 295ca00

systemd-13485
Last change on this file since 295ca00 was 8770a48, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to doxygen-1.8.10
Update to OpenJDK-1.8.0.51
Update to check-0.10.0
Fix a build error in Valgrind using glibc-2.22
Update to GnuTLS-3.4.4.1
Update to acpid-2.0.25
Update to cURL-7.44.0
Update to libpng-1.6.18
Update to cmake-3.3.1
Update to harfbuzz-1.0.2
Update to libdrm-2.4.64
Update to Mesa-10.6.4 (will wait for 11.x release for next update)
Update to Linux-PAM-1.2.1
Update to xterm-319
Update to gdk-pixbuf-2.31.6
Update to vala-0.28.1
Update to LVM2-2.02.128
Update to openbox-3.6.1
Update to PIN-Entry-0.9.5
Update to GnuPG-2.1.7
Update to gcr-3.16.0
Fix URL for gsettings-desktop-schemas-3.16.1
Add some short descriptions by Denis.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16358 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.4 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 lvm2-download-http " ">
8 <!ENTITY lvm2-download-ftp "ftp://sources.redhat.com/pub/lvm2/LVM2.&lvm2-version;.tgz">
9 <!ENTITY lvm2-md5sum "b3f4c273a30b316678755cec2a129718">
10 <!ENTITY lvm2-size "1.8 MB">
11 <!ENTITY lvm2-buildsize "31 MB (additional 10 MB to run the test suite)">
12 <!ENTITY lvm2-time "0.6 SBU (additional 8.2 SBU to run the test suite)">
13]>
14
15<sect1 id="lvm2" xreflabel="LVM2-&lvm2-version;">
16 <?dbhtml filename="lvm2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>LVM2-&lvm2-version;</title>
24
25 <indexterm zone="lvm2">
26 <primary sortas="a-LVM2">LVM2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to LVM2</title>
31
32 <para>
33 The <application>LVM2</application> package is a package that manages
34 logical partitions. It allows spanning of file systems across multiple
35 physical disks and disk partitions and provides for dynamic growing or
36 shrinking of logical partitions.
37 </para>
38
39 &lfs77_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&lvm2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&lvm2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &lvm2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &lvm2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &lvm2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &lvm2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">LVM2 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend='mdadm'/> (for checks) and
80 <xref linkend='xfsprogs'/> (for checks)
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/lvm2"/>
85 </para>
86 </sect2>
87
88 <sect2 role="kernel" id="lvm2-kernel">
89 <title>Kernel Configuration</title>
90
91 <para>
92 Enable the following options in the kernel configuration
93 and recompile the kernel:
94 </para>
95
96 <note><para>
97 There are several other Device Mapper options in the kernel beyond those
98 listed below. In order to get reasonable results if running the
99 regression tests, all must be enabled either internally or as a module.
100 </para></note>
101
102<screen><literal>Device Drivers ---&gt;
103 [*] Multiple devices driver support (RAID and LVM) ---&gt; [CONFIG_MD]
104 &lt;*/M&gt; Device mapper support [CONFIG_BLK_DEV_DM]
105 &lt;*/M/ &gt; Crypt target support [CONFIG_DM_CRYPT]
106 &lt;*/M/ &gt; Snapshot target [CONFIG_DM_SNAPSHOT]
107 &lt;*/M/ &gt; Mirror target [CONFIG_DM_MIRROR]</literal></screen>
108
109 <indexterm zone="lvm2 lvm2-kernel">
110 <primary sortas="d-lvm2">lvm2</primary>
111 </indexterm>
112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of LVM2</title>
117
118 <para>
119 Install <application>LVM2</application> by running the following
120 commands:
121 </para>
122
123<screen><userinput>./configure --prefix=/usr \
124 --exec-prefix= \
125 --with-confdir=/etc \
126 --enable-applib \
127 --enable-cmdlib \
128 --enable-pkgconfig \
129 --enable-udev_sync &amp;&amp;
130make</userinput></screen>
131
132 <para>
133 <!--The check command must be run as the <systemitem
134 class="username">root</systemitem> user. Also the tests are known to
135 hang if at least one partition on a hard drive is not set up as a Linux
136 LVM partition (type 8e00).-->To test the results, issue: <command>make -k
137 check</command> as the <systemitem class="username">root</systemitem>
138 user. At least one partition on a hard drive must be set up as a Linux
139 LVM partition (type 8e00). The test timings are very dependent on the
140 speed of the disk(s) and on the number of enabled kernel options.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <parameter>--enable-applib</parameter>: This switch enables
156 building of the shared application library.
157 </para>
158
159 <para>
160 <parameter>--enable-cmdlib</parameter>: This switch enables
161 building of the shared command library. It is required
162 when building the event daemon.
163 </para>
164
165 <para>
166 <parameter>--enable-pkgconfig</parameter>: This switch enables
167 installation of <command>pkg-config</command> support files.
168 </para>
169
170 <para>
171 <parameter>--enable-udev_sync</parameter>: This switch enables
172 synchronisation with <application>Udev</application> processing.
173 </para>
174
175 <para>
176 <option>--enable-dmeventd</option>: This switch enables
177 building of the <application>Device Mapper</application>
178 event daemon.
179 </para>
180
181 </sect2>
182
183 <sect2 role="content">
184 <title>Contents</title>
185
186 <segmentedlist>
187 <segtitle>Installed Programs</segtitle>
188 <segtitle>Installed Libraries</segtitle>
189 <segtitle>Installed Directories</segtitle>
190
191 <seglistitem>
192 <seg>
193 blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmconf,
194 lvmdump, and vgimportclone. There are also numerous symbolic links to
195 lvm that implement specific functionalities
196 </seg>
197 <seg>
198 libdevmapper.so, liblvm2app.so and liblvm2cmd.so; optional:
199 libdevmapper-event.so, libdevmapper-event-lvm2.so,
200 libdevmapper-event-lvm2mirror.so, libdevmapper-event-lvm2snapshot.so,
201 libdevmapper-event-lvm2raid.so, and libdevmapper-event-lvm2thin.so
202 </seg>
203 <seg>
204 /etc/lvm and
205 /lib/device-mapper (optional)
206 </seg>
207 </seglistitem>
208 </segmentedlist>
209
210 <variablelist>
211 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
212 <?dbfo list-presentation="list"?>
213
214 <?dbhtml list-presentation="table"?>
215
216 <varlistentry id="blkdeactivate">
217 <term><command>blkdeactivate</command></term>
218 <listitem>
219 <para>
220 is a utility to deactivate block device.
221 </para>
222 <indexterm zone="lvm2 blkdeactivate">
223 <primary sortas="b-blkdeactivate">blkdeactivate</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry id="dmeventd">
229 <term><command>dmeventd</command></term>
230 <listitem>
231 <para>
232 (optional) is the Device Mapper event daemon.
233 </para>
234 <indexterm zone="lvm2 dmeventd">
235 <primary sortas="b-dmeventd">dmeventd</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="dmsetup">
241 <term><command>dmsetup</command></term>
242 <listitem>
243 <para>
244 is a low level logical volume management tool.
245 </para>
246 <indexterm zone="lvm2 dmsetup">
247 <primary sortas="b-dmsetup">dmsetup</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="fsadm">
253 <term><command>fsadm</command></term>
254 <listitem>
255 <para>
256 is a utility used to resize or check filesystem on a device.
257 </para>
258 <indexterm zone="lvm2 fsadm">
259 <primary sortas="b-fsadm">fsadm</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="lvm">
265 <term><command>lvm</command></term>
266 <listitem>
267 <para>
268 provides the command-line tools for <application>LVM2</application>.
269 Commands are implemented via sympolic links to this program to
270 manage physical devices (pv*), volume groups (vg*) and logical
271 volumes (lv*).
272 </para>
273 <indexterm zone="lvm2 lvm">
274 <primary sortas="b-lvm">lvm</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="lvmconf">
280 <term><command>lvmconf</command></term>
281 <listitem>
282 <para>
283 is a script that modifies the locking configuration in
284 the <application>LVM2</application> configuration file.
285 </para>
286 <indexterm zone="lvm2 lvmconf">
287 <primary sortas="b-lvmconf">lvmconf</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
291
292 <varlistentry id="lvmdump">
293 <term><command>lvmdump</command></term>
294 <listitem>
295 <para>
296 is a tool used to dump various information concerning
297 <application>LVM2</application>.
298 </para>
299 <indexterm zone="lvm2 lvmdump">
300 <primary sortas="b-lvmdump">lvmdump</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="vgimportclone">
306 <term><command>vgimportclone</command></term>
307 <listitem>
308 <para>
309 is used to import a duplicated VG (e.g. hardware snapshot).
310 </para>
311 <indexterm zone="lvm2 vgimportclone">
312 <primary sortas="b-vgimportclone">vgimportclone</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="libdevmapper">
318 <term><filename class='libraryfile'>libdevmapper.so</filename></term>
319 <listitem>
320 <para>
321 contains the <application>Device Mapper</application> API
322 functions.
323 </para>
324 <indexterm zone="lvm2 libdevmapper">
325 <primary sortas="c-libdevmapper">libdevmapper.so</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 </variablelist>
331
332 </sect2>
333
334</sect1>
Note: See TracBrowser for help on using the repository browser.