source: postlfs/filesystems/lvm2.xml@ c3c56b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c3c56b2 was c3c56b2, checked in by Krejzi <krejzi@…>, 11 years ago

Reimplement none where nothing is installed - programs, libraries or directories.

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

  • Property mode set to 100644
File size: 8.0 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 "1ce5b7f9981e1d02dfd1d3857c8d9fbe">
10 <!ENTITY lvm2-size "1.2 MB">
11 <!ENTITY lvm2-buildsize "20 MB">
12 <!ENTITY lvm2-time "0.6 SBU">
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 &lfs72_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 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/lvm2"/>
77 </para>
78 </sect2>
79
80 <sect2 role="kernel" id="lvm2-kernel">
81 <title>Kernel Configuration</title>
82
83 <para>
84 Enable the following option in the kernel configuration
85 and recompile the kernel:
86 </para>
87
88<screen><literal>Device Drivers ---&gt;
89 Multiple devices driver support (RAID and LVM): Y
90 Device mapper support: Y or M
91 Crypt target support: (optional)
92 Snapshot target: (optional)
93 Mirror target: (optional) </literal></screen>
94
95 <indexterm zone="lvm2 lvm2-kernel">
96 <primary sortas="d-lvm2">lvm2</primary>
97 </indexterm>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of LVM2</title>
103
104 <para>
105 Install <application>LVM2</application> by running the following
106 commands:
107 </para>
108
109<screen><userinput>./configure --prefix=/usr \
110 --exec-prefix= \
111 --with-confdir=/etc \
112 --enable-applib \
113 --enable-cmdlib \
114 --enable-pkgconfig \
115 --enable-udev_sync &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 To test the results, issue: <command>make check</command>.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <option>--enable-applib</option>: This switch enables
135 building of the shared application library.
136 </para>
137
138 <para>
139 <option>--enable-cmdlib</option>: This switch enables
140 building of the shared command library. It is required
141 when building the event daemon.
142 </para>
143
144 <para>
145 <option>--enable-pkgconfig</option>: This switch enables
146 installation of <command>pkg-config</command> support files.
147 </para>
148
149 <para>
150 <option>--enable-udev_sync</option>: This switch enables
151 synchronisation with <application>Udev</application> processing.
152 </para>
153
154 <para>
155 <option>--enable-dmeventd</option>: This switch enables
156 building of the <application>Device Mapper</application>
157 event daemon.
158 </para>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>
172 dmsetup, fsadm, lvm, lvmconf, lvmdump, vgimportclone. There
173 are also numerous symbolic links to lvm that implement
174 specific functionality.
175 </seg>
176 <seg>
177 libdevmapper.so, liblvm2app.so and liblvm2cmd.so
178 </seg>
179 <seg>
180 None
181 </seg>
182 </seglistitem>
183 </segmentedlist>
184
185 <variablelist>
186 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
187 <?dbfo list-presentation="list"?>
188 <?dbhtml list-presentation="table"?>
189
190 <varlistentry id="dmsetup">
191 <term><command>dmsetup</command></term>
192 <listitem>
193 <para>
194 is a low level logical volume management tool.
195 </para>
196 <indexterm zone="lvm2 dmsetup">
197 <primary sortas="b-dmsetup">dmsetup</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="fsadm">
203 <term><command>fsadm</command></term>
204 <listitem>
205 <para>
206 is an utility used to resize or check filesystem on a device.
207 </para>
208 <indexterm zone="lvm2 fsadm">
209 <primary sortas="b-fsadm">fsadm</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="lvm">
215 <term><command>lvm</command></term>
216 <listitem>
217 <para>
218 provides the command-line tools for <application>LVM2</application>.
219 Commands are implemented via sympolic links to this program to
220 manage physical devices (pv*), volume groups (vg*) and logical
221 volumes (lv*).
222 </para>
223 <indexterm zone="lvm2 lvm">
224 <primary sortas="b-lvm">lvm</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="lvmconf">
230 <term><command>lvmconf</command></term>
231 <listitem>
232 <para>
233 is a script that modifies the locking configuration in
234 the <application>LVM2</application> configuration file.
235 </para>
236 <indexterm zone="lvm2 lvmconf">
237 <primary sortas="b-lvmconf">lvmconf</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="lvmdump">
243 <term><command>lvmdump</command></term>
244 <listitem>
245 <para>
246 is a tool used to dump various information concerning
247 <application>LVM2</application>.
248 </para>
249 <indexterm zone="lvm2 lvmdump">
250 <primary sortas="b-lvmdump">lvmdump</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="vgimportclone">
256 <term><command>vgimportclone</command></term>
257 <listitem>
258 <para>
259 is used to import a duplicated VG (e.g. hardware snapshot).
260 </para>
261 <indexterm zone="lvm2 vgimportclone">
262 <primary sortas="b-vgimportclone">vgimportclone</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="libdevmapper">
268 <term><filename class='libraryfile'>libdevmapper.so</filename></term>
269 <listitem>
270 <para>
271 contains the <application>Device Mapper</application> API
272 functions.
273 </para>
274 <indexterm zone="lvm2 libdevmapper">
275 <primary sortas="c-libdevmapper">libdevmapper.so</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 </variablelist>
281
282 </sect2>
283
284</sect1>
Note: See TracBrowser for help on using the repository browser.