source: postlfs/filesystems/lvm2.xml@ dbbb6c7

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 dbbb6c7 was f60cf4a, checked in by Krejzi <krejzi@…>, 12 years ago

lvm2 2.02.95

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

  • Property mode set to 100644
File size: 7.3 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 "bd470a802046c807603618a443732ea7">
10 <!ENTITY lvm2-size "1.2 MB">
11 <!ENTITY lvm2-buildsize "15 MB">
12 <!ENTITY lvm2-time "0.4 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>The <application>lvm2</application> package is a package that manages
33 logical partitions. It allows spanning of file systems across multiple
34 physical disks and disk partitions and provides for dynamic growing or shrinking
35 of logical partitions.</para>
36
37 &lfs71_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&lvm2-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&lvm2-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &lvm2-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &lvm2-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &lvm2-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &lvm2-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/lvm2"/></para>
63
64 </sect2>
65
66 <sect2 role="kernel" id='lvm2-kernel'>
67 <title>Kernel Configuration</title>
68
69 <para>Enable the following option in the kernel configuration
70 and recompile the kernel:</para>
71
72<screen><literal>Device Drivers ---&gt;
73 Multiple devices driver support (RAID and LVM): Y
74 Device mapper support: Y or M
75 Crypt target support: (optional)
76 Snapshot target: (optional)
77 Mirror target: (optional) </literal></screen>
78
79 <indexterm zone="lvm2 lvm2-kernel">
80 <primary sortas="d-lvm2">lvm2</primary>
81 </indexterm>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of lvm2</title>
87
88 <para>Install <application>lvm2</application> by running the following
89 commands:</para>
90
91<screen><userinput>./configure --prefix=/usr \
92 --exec-prefix= \
93 --with-confdir=/etc \
94 --enable-applib \
95 --enable-cmdlib \
96 --enable-pkgconfig \
97 --enable-udev_sync &amp;&amp;
98make</userinput></screen>
99
100 <para>To test the results, issue: <command>make check</command>.</para>
101
102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
103
104<screen role="root"><userinput>make install</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><option>--enable-applib</option>: This parameter enables
112 building of the shared application library..</para>
113
114 <para><option>--enable-cmdlib</option>: This parameter enables
115 building of the shared command library. It is required when
116 building the event daemon.</para>
117
118 <para><option>--enable-pkgconfig</option>: This parameter enables
119 installation of pkgconfig support files.</para>
120
121 <para><option>--enable-udev_sync</option>: This parameter enables
122 synchronisation with <application>Udev</application> processing.</para>
123
124 <para><option>--enable-dmeventd</option>: This parameter enables
125 building of the device-mapper event daemon.</para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>dmsetup, fsadm, lvm, lvmconf, lvndump, vgimportclone. There
139 are also numerous symbolic links to lvm to impement specific
140 functionality.</seg>
141 <seg>libdevmapper.so</seg>
142 <seg>None</seg>
143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="dmsetup">
152 <term><command>dmsetup</command></term>
153 <listitem>
154 <para>is a low level logical volume management tool.</para>
155 <indexterm zone="lvm2 dmsetup">
156 <primary sortas="b-dmsetup">dmsetup</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="fsadm">
162 <term><command>fsadm</command></term>
163 <listitem>
164 <para>is a utility to resize or check filesystem on a device.</para>
165 <indexterm zone="lvm2 fsadm">
166 <primary sortas="b-fsadm">fsadm</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="lvm">
172 <term><command>lvm</command></term>
173 <listitem>
174 <para>provides the command-line tools for lvm2. Commands are
175 implemented via sympolic links to this program to manage physical
176 devices (pv*), volume groups (vg*), and logical volumes (lv*).</para>
177 <indexterm zone="lvm2 lvm">
178 <primary sortas="b-lvm">lvm</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="lvmconf">
184 <term><command>lvmconf</command></term>
185 <listitem>
186 <para>is a script that modifies the locking configuration in
187 an lvm configuration file.</para>
188 <indexterm zone="lvm2 lvmconf">
189 <primary sortas="b-lvmconf">lvmconf</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="lvmdump">
195 <term><command>lvmdump</command></term>
196 <listitem>
197 <para>is a tool to dump various information concerning lvm2.</para>
198 <indexterm zone="lvm2 lvmdump">
199 <primary sortas="b-lvmdump">lvmdump</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="vgimportclone">
205 <term><command>vgimportclone</command></term>
206 <listitem>
207 <para>is used to import a duplicated VG (e.g. hardware snapshot).</para>
208 <indexterm zone="lvm2 vgimportclone">
209 <primary sortas="b-vgimportclone">vgimportclone</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libdevmapper">
215 <term><filename class='libraryfile'>libdevmapper.so</filename></term>
216 <listitem>
217 <para>contains the <application>device-mapper</application> API
218 functions.</para>
219 <indexterm zone="lvm2 libdevmapper">
220 <primary sortas="c-libdevmapper">libdevmapper.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.