[8bc3edae] | 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 |
|
---|
[0dc5c2e1] | 7 | <!ENTITY lvm2-download-http "https://sourceware.org/ftp/lvm2/LVM2.&lvm2-version;.tgz">
|
---|
[e65320b] | 8 | <!ENTITY lvm2-download-ftp "ftp://sourceware.org/pub/lvm2/LVM2.&lvm2-version;.tgz">
|
---|
[0a18d81] | 9 | <!ENTITY lvm2-md5sum "0dbe745e945461419b56c7a21d7e47e2">
|
---|
[0936f56] | 10 | <!ENTITY lvm2-size "2.5 MB">
|
---|
[e43a4270] | 11 | <!ENTITY lvm2-buildsize "37 MB (add 18 MB for tests; transient files can grow up to around 800 MB in the /tmp directory during tests)">
|
---|
[8ec0245] | 12 | <!-- My build size was 124 MB with tests, but I'll leave this here. -renodr
|
---|
[0936f56] | 13 | The files in /tmp are transient. I monitor /tmp with a loop during
|
---|
[8ec0245] | 14 | tests. -pierre, August 2020 -->
|
---|
[e43a4270] | 15 | <!ENTITY lvm2-time "0.2 SBU (using parallelism=4; add 9 to 48 SBU for tests, depending on disk speed)">
|
---|
[8bc3edae] | 16 | ]>
|
---|
| 17 |
|
---|
[c627795] | 18 | <sect1 id="lvm2" xreflabel="LVM2-&lvm2-version;">
|
---|
[8bc3edae] | 19 | <?dbhtml filename="lvm2.html"?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[c627795] | 25 | <title>LVM2-&lvm2-version;</title>
|
---|
[8bc3edae] | 26 |
|
---|
| 27 | <indexterm zone="lvm2">
|
---|
[c627795] | 28 | <primary sortas="a-LVM2">LVM2</primary>
|
---|
[8bc3edae] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[c627795] | 32 | <title>Introduction to LVM2</title>
|
---|
[8bc3edae] | 33 |
|
---|
[c627795] | 34 | <para>
|
---|
[99fcc47] | 35 | The <application>LVM2</application> package is a set of tools that manage
|
---|
[c627795] | 36 | logical partitions. It allows spanning of file systems across multiple
|
---|
| 37 | physical disks and disk partitions and provides for dynamic growing or
|
---|
[99fcc47] | 38 | shrinking of logical partitions, mirroring and low storage footprint
|
---|
| 39 | snapshots.
|
---|
[c627795] | 40 | </para>
|
---|
[8bc3edae] | 41 |
|
---|
[c2f9a33] | 42 | &lfs111_checked;
|
---|
[8bc3edae] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
[f60cf4a] | 46 | <listitem>
|
---|
[c627795] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&lvm2-download-http;"/>
|
---|
| 49 | </para>
|
---|
[f60cf4a] | 50 | </listitem>
|
---|
[8bc3edae] | 51 | <listitem>
|
---|
[c627795] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&lvm2-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[8bc3edae] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c627795] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &lvm2-md5sum;
|
---|
| 59 | </para>
|
---|
[8bc3edae] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c627795] | 62 | <para>
|
---|
| 63 | Download size: &lvm2-size;
|
---|
| 64 | </para>
|
---|
[8bc3edae] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c627795] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &lvm2-buildsize;
|
---|
| 69 | </para>
|
---|
[8bc3edae] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[c627795] | 72 | <para>
|
---|
| 73 | Estimated build time: &lvm2-time;
|
---|
| 74 | </para>
|
---|
[8bc3edae] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[b5e8375] | 78 | <bridgehead renderas="sect3">LVM2 Dependencies</bridgehead>
|
---|
| 79 |
|
---|
[3964f59] | 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 81 | <para role="required">
|
---|
[8991a7cb] | 82 | <xref linkend='libaio'/>
|
---|
[3964f59] | 83 | </para>
|
---|
| 84 |
|
---|
[b5e8375] | 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
[99fcc47] | 87 | <xref linkend='mdadm'/>,
|
---|
| 88 | <xref linkend='reiserfs'/>,
|
---|
| 89 | <xref linkend='valgrind'/>,
|
---|
| 90 | <xref linkend='which'/>,
|
---|
| 91 | <xref linkend='xfsprogs'/> (all five may be used, but are not required,
|
---|
[d5f6e8e] | 92 | for tests),
|
---|
[99fcc47] | 93 | <ulink url='https://github.com/jthornber/thin-provisioning-tools'>
|
---|
[d5f6e8e] | 94 | thin-provisioning-tools</ulink>, and
|
---|
| 95 | <ulink url="https://github.com/dm-vdo/vdo">vdo</ulink>
|
---|
[b5e8375] | 96 | </para>
|
---|
| 97 |
|
---|
[8bc3edae] | 98 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 99 | <ulink url="&blfs-wiki;/lvm2"/>
|
---|
| 100 | </para>
|
---|
[09765cf] | 101 |
|
---|
[8bc3edae] | 102 | </sect2>
|
---|
| 103 |
|
---|
[c627795] | 104 | <sect2 role="kernel" id="lvm2-kernel">
|
---|
[7e1df8f9] | 105 | <title>Kernel Configuration</title>
|
---|
| 106 |
|
---|
[c627795] | 107 | <para>
|
---|
[421128a1] | 108 | Enable the following options in the kernel configuration
|
---|
[c627795] | 109 | and recompile the kernel:
|
---|
| 110 | </para>
|
---|
[7e1df8f9] | 111 |
|
---|
[b5e8375] | 112 | <note><para>
|
---|
| 113 | There are several other Device Mapper options in the kernel beyond those
|
---|
| 114 | listed below. In order to get reasonable results if running the
|
---|
| 115 | regression tests, all must be enabled either internally or as a module.
|
---|
[302a619] | 116 | The tests will all time out if Magic SysRq key is not enabled.
|
---|
[b5e8375] | 117 | </para></note>
|
---|
| 118 |
|
---|
[7e1df8f9] | 119 | <screen><literal>Device Drivers --->
|
---|
[421128a1] | 120 | [*] Multiple devices driver support (RAID and LVM) ---> [CONFIG_MD]
|
---|
| 121 | <*/M> Device mapper support [CONFIG_BLK_DEV_DM]
|
---|
[f39cf0d0] | 122 | <*/M> Crypt target support [CONFIG_DM_CRYPT]
|
---|
| 123 | <*/M> Snapshot target [CONFIG_DM_SNAPSHOT]
|
---|
| 124 | <*/M> Thin provisioning target [CONFIG_DM_THIN_PROVISIONING]
|
---|
[e43a4270] | 125 | <*/M> Cache target (EXPERIMENTAL) [CONFIG_DM_CACHE]
|
---|
[f39cf0d0] | 126 | <*/M> Mirror target [CONFIG_DM_MIRROR]
|
---|
[e43a4270] | 127 | <*/M> Zero target [CONFIG_DM_ZERO]
|
---|
| 128 | <*/M> I/O delaying target [CONFIG_DM_DELAY]
|
---|
| 129 | [*] Block devices --->
|
---|
| 130 | <*/M> RAM block device support [CONFIG_BLK_DEV_RAM]
|
---|
[302a619] | 131 | Kernel hacking --->
|
---|
[f39cf0d0] | 132 | Generic Kernel Debugging Instruments --->
|
---|
| 133 | [*] Magic SysRq key [CONFIG_MAGIC_SYSRQ]</literal></screen>
|
---|
[7e1df8f9] | 134 |
|
---|
| 135 | <indexterm zone="lvm2 lvm2-kernel">
|
---|
| 136 | <primary sortas="d-lvm2">lvm2</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
[8bc3edae] | 141 | <sect2 role="installation">
|
---|
[c627795] | 142 | <title>Installation of LVM2</title>
|
---|
[8bc3edae] | 143 |
|
---|
[c627795] | 144 | <para>
|
---|
| 145 | Install <application>LVM2</application> by running the following
|
---|
| 146 | commands:
|
---|
| 147 | </para>
|
---|
[8bc3edae] | 148 |
|
---|
[22e249a] | 149 | <screen><userinput>PATH+=:/usr/sbin \
|
---|
[e94d178] | 150 | ./configure --prefix=/usr \
|
---|
[4591404] | 151 | --enable-cmdlib \
|
---|
| 152 | --enable-pkgconfig \
|
---|
[46a9711b] | 153 | --enable-udev_sync &&
|
---|
[c470ab9] | 154 | make</userinput></screen>
|
---|
[8bc3edae] | 155 |
|
---|
[c627795] | 156 | <para>
|
---|
[99fcc47] | 157 | The tests use <application>udev</application> for logical volume
|
---|
[8991a7cb] | 158 | synchronization, so the LVM udev rules and some utilities need to
|
---|
[99fcc47] | 159 | be installed before running the tests. If you are installing
|
---|
| 160 | <application>LVM2</application> for the first time, and do not
|
---|
| 161 | want to install the full package before running the tests, the minimal
|
---|
| 162 | set of utilities can be installed by running the following instructions
|
---|
| 163 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
[06908bf6] | 166 | <screen role="root"
|
---|
| 167 | remap="test"><userinput>make -C tools install_tools_dynamic &&
|
---|
[99fcc47] | 168 | make -C udev install &&
|
---|
| 169 | make -C libdm install</userinput></screen>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
[06908bf6] | 172 | To test the results, issue, as the
|
---|
| 173 | <systemitem class="username">root</systemitem> user:
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <screen role="root"
|
---|
[51ba03e] | 177 | remap="test"><userinput>LC_ALL=en_US.UTF-8 make S=lvconvert-repair-replace check_local</userinput></screen>
|
---|
[06908bf6] | 178 |
|
---|
| 179 | <para>
|
---|
[8ec0245] | 180 | The <command>S=...</command> option allows to skip tests. The
|
---|
[51ba03e] | 181 | <command>lvconvert-repair-replace</command> test has been reported
|
---|
| 182 | to hang.
|
---|
[06908bf6] | 183 | Other targets are available and can be listed with
|
---|
| 184 | <command>make -C test help</command>. The test timings are very dependent
|
---|
| 185 | on the speed of the disk(s), and on the number of enabled kernel options.
|
---|
[f9431b6] | 186 | </para>
|
---|
[20c731a] | 187 |
|
---|
[6c6f393] | 188 | <!-- Results for LVM2.2.02.176:
|
---|
| 189 | ### 292 tests: 177 passed, 46 skipped, 0 timed out, 60 warned, 9 failed
|
---|
[5d01724] | 190 |
|
---|
| 191 | Results for LVM2.2.03.01:
|
---|
| 192 | ### 302 tests: 182 passed, 43 skipped, 0 timed out, 62 warned, 15 failed
|
---|
[23ed085] | 193 |
|
---|
| 194 | Results for LVM2.2.03.05:
|
---|
| 195 | ### 326 tests: 255 passed, 58 skipped, 0 timed out, 2 warned, 11 failed
|
---|
[1c6b54be] | 196 |
|
---|
| 197 | Results for LVM2.2.03.09:
|
---|
| 198 | ### 338 tests: 212 passed, 41 skipped, 0 timed out, 70 warned, 15 failed
|
---|
[d5f6e8e] | 199 |
|
---|
| 200 | Results for LVM2.2.03.11:
|
---|
| 201 | ### 357 tests: 231 passed, 32 skipped, 0 timed out, 77 warned, 17 failed
|
---|
[51ba03e] | 202 |
|
---|
| 203 | Results for LVM2.2.03.14:
|
---|
| 204 | ### 389 tests: 304 passed, 73 skipped, 0 timed out, 2 warned, 10 failed
|
---|
[20c731a] | 205 | -->
|
---|
| 206 |
|
---|
[f9431b6] | 207 | <para>
|
---|
[af8a78d] | 208 | The tests do not implement the <quote>expected fail</quote> possibility,
|
---|
[8558044] | 209 | and a small number of test failures is expected by upstream.
|
---|
| 210 | <!-- 1 -->More failures may happen because some kernel options are missing.
|
---|
| 211 | For example, the lack of the <emphasis>dm-delay</emphasis> device
|
---|
| 212 | mapper target explains some failures.
|
---|
| 213 | <!-- 2 -->Some tests may fail if there is insufficient free space available
|
---|
| 214 | in the partition with the /tmp directory. At least one test fails if 16 TB
|
---|
[e43a4270] | 215 | is not available.
|
---|
| 216 | <!-- 3 -->Some tests are flagged <quote>warned</quote> if
|
---|
[f9431b6] | 217 | <ulink url='https://github.com/jthornber/thin-provisioning-tools'>
|
---|
| 218 | thin-provisioning-tools</ulink> are not installed. A workaround is to
|
---|
| 219 | add the following flags to <command>configure</command>:
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <screen role="nodump"><userinput> --with-thin-check= \
|
---|
| 223 | --with-thin-dump= \
|
---|
| 224 | --with-thin-repair= \
|
---|
| 225 | --with-thin-restore= \
|
---|
| 226 | --with-cache-check= \
|
---|
| 227 | --with-cache-dump= \
|
---|
| 228 | --with-cache-repair= \
|
---|
| 229 | --with-cache-restore= \</userinput></screen>
|
---|
| 230 |
|
---|
| 231 | <para>
|
---|
[0dc5c2e1] | 232 | Some tests may hang. They can be removed if necessary, for example:
|
---|
| 233 | <command>rm test/shell/lvconvert-raid-reshape.sh</command>. The tests
|
---|
| 234 | generate a lot of kernel messages, which may clutter your terminal. You
|
---|
| 235 | can disable them by issuing <command>dmesg -D</command> before running
|
---|
| 236 | the tests (do not forget to issue <command>dmesg -E</command> when tests
|
---|
| 237 | are done).
|
---|
[fbcb3846] | 238 |
|
---|
| 239 | <note><simpara>The checks create device nodes in the /tmp directory. The
|
---|
[e43a4270] | 240 | tests will fail if /tmp is mounted with the nodev option.
|
---|
| 241 | </simpara></note>
|
---|
[c627795] | 242 | </para>
|
---|
[8bc3edae] | 243 |
|
---|
[c627795] | 244 | <para>
|
---|
| 245 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 246 | </para>
|
---|
[8bc3edae] | 247 |
|
---|
[bbc76b21] | 248 | <screen role="root" revision="sysv"><userinput>make install
|
---|
| 249 | rm /usr/lib/udev/rules.d/69-dm-lvm.rules</userinput></screen>
|
---|
[55dc313] | 250 |
|
---|
| 251 | <screen role="root" revision="systemd"><userinput>make install
|
---|
| 252 | make install_systemd_units</userinput></screen>
|
---|
[8bc3edae] | 253 |
|
---|
| 254 | </sect2>
|
---|
| 255 |
|
---|
| 256 | <sect2 role="commands">
|
---|
| 257 | <title>Command Explanations</title>
|
---|
| 258 |
|
---|
[e94d178] | 259 | <para>
|
---|
[22e249a] | 260 | <command>PATH+=:/usr/sbin</command>: The path
|
---|
| 261 | must contain
|
---|
[e94d178] | 262 | <filename class='directory'>/usr/sbin</filename> for proper system tool
|
---|
[41d504a] | 263 | detection by the <command>configure</command> script. This instruction
|
---|
[41e2bf5] | 264 | ensures that PATH is properly set even if you build as an unprivileged user.
|
---|
[e94d178] | 265 | </para>
|
---|
| 266 |
|
---|
[c627795] | 267 | <para>
|
---|
[2800af7] | 268 | <parameter>--enable-cmdlib</parameter>: This switch enables
|
---|
[c627795] | 269 | building of the shared command library. It is required
|
---|
| 270 | when building the event daemon.
|
---|
| 271 | </para>
|
---|
| 272 |
|
---|
| 273 | <para>
|
---|
[2800af7] | 274 | <parameter>--enable-pkgconfig</parameter>: This switch enables
|
---|
[c627795] | 275 | installation of <command>pkg-config</command> support files.
|
---|
| 276 | </para>
|
---|
| 277 |
|
---|
| 278 | <para>
|
---|
[2800af7] | 279 | <parameter>--enable-udev_sync</parameter>: This switch enables
|
---|
[c627795] | 280 | synchronisation with <application>Udev</application> processing.
|
---|
| 281 | </para>
|
---|
| 282 |
|
---|
| 283 | <para>
|
---|
| 284 | <option>--enable-dmeventd</option>: This switch enables
|
---|
| 285 | building of the <application>Device Mapper</application>
|
---|
| 286 | event daemon.
|
---|
| 287 | </para>
|
---|
[8bc3edae] | 288 |
|
---|
[bbc76b21] | 289 | <para revision="sysv">
|
---|
| 290 | <command>rm .../69-dm-lvm.rules</command>: Under certain circumstances,
|
---|
| 291 | this udev rule calls <command>systemd-run</command>, which is not
|
---|
| 292 | available on sysv. It performs actions that are done by another boot
|
---|
| 293 | script anyway, so it is not needed.
|
---|
| 294 | </para>
|
---|
| 295 |
|
---|
[55dc313] | 296 | <para revision="systemd">
|
---|
| 297 | <command>make install_systemd_units</command>: This is needed to install
|
---|
| 298 | a unit that activates logical volumes at boot. It is not installed
|
---|
| 299 | by default.
|
---|
| 300 | </para>
|
---|
| 301 |
|
---|
[8bc3edae] | 302 | </sect2>
|
---|
| 303 |
|
---|
| 304 | <sect2 role="content">
|
---|
| 305 | <title>Contents</title>
|
---|
| 306 |
|
---|
| 307 | <segmentedlist>
|
---|
| 308 | <segtitle>Installed Programs</segtitle>
|
---|
| 309 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 310 | <segtitle>Installed Directories</segtitle>
|
---|
[8bc3edae] | 311 |
|
---|
| 312 | <seglistitem>
|
---|
[c627795] | 313 | <seg>
|
---|
[51ba03e] | 314 | blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmdump,
|
---|
| 315 | and lvm_import_vdo.
|
---|
[23ed085] | 316 | There are also numerous symbolic links to lvm that implement specific
|
---|
[09765cf] | 317 | functionalities
|
---|
[c627795] | 318 | </seg>
|
---|
| 319 | <seg>
|
---|
[23ed085] | 320 | libdevmapper.so and liblvm2cmd.so; optional:
|
---|
[a037dab] | 321 | libdevmapper-event.so, libdevmapper-event-lvm2.so,
|
---|
[8ec0245] | 322 | libdevmapper-event-lvm2mirror.so, libdevmapper-event-lvm2raid.so,
|
---|
[51ba03e] | 323 | libdevmapper-event-lvm2snapshot.so, libdevmapper-event-lvm2thin.so,
|
---|
| 324 | and libdevmapper-event-lvm2vdo.so
|
---|
[c627795] | 325 | </seg>
|
---|
[c3c56b2] | 326 | <seg>
|
---|
[a037dab] | 327 | /etc/lvm and
|
---|
[51ba03e] | 328 | /usr/lib/device-mapper (optional)
|
---|
[c3c56b2] | 329 | </seg>
|
---|
[8bc3edae] | 330 | </seglistitem>
|
---|
| 331 | </segmentedlist>
|
---|
| 332 |
|
---|
| 333 | <variablelist>
|
---|
| 334 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 335 | <?dbfo list-presentation="list"?>
|
---|
[61b95ac4] | 336 |
|
---|
| 337 | <?dbhtml list-presentation="table"?>
|
---|
[8bc3edae] | 338 |
|
---|
[8ed30d52] | 339 | <varlistentry id="blkdeactivate">
|
---|
| 340 | <term><command>blkdeactivate</command></term>
|
---|
| 341 | <listitem>
|
---|
| 342 | <para>
|
---|
[4c24eb0a] | 343 | is a utility to deactivate block devices
|
---|
[8ed30d52] | 344 | </para>
|
---|
| 345 | <indexterm zone="lvm2 blkdeactivate">
|
---|
| 346 | <primary sortas="b-blkdeactivate">blkdeactivate</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
[a037dab] | 351 | <varlistentry id="dmeventd">
|
---|
| 352 | <term><command>dmeventd</command></term>
|
---|
| 353 | <listitem>
|
---|
| 354 | <para>
|
---|
[4c24eb0a] | 355 | (optional) is the Device Mapper event daemon
|
---|
[a037dab] | 356 | </para>
|
---|
| 357 | <indexterm zone="lvm2 dmeventd">
|
---|
| 358 | <primary sortas="b-dmeventd">dmeventd</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
| 362 |
|
---|
[8bc3edae] | 363 | <varlistentry id="dmsetup">
|
---|
| 364 | <term><command>dmsetup</command></term>
|
---|
| 365 | <listitem>
|
---|
[c627795] | 366 | <para>
|
---|
[4c24eb0a] | 367 | is a low level logical volume management tool
|
---|
[c627795] | 368 | </para>
|
---|
[8bc3edae] | 369 | <indexterm zone="lvm2 dmsetup">
|
---|
| 370 | <primary sortas="b-dmsetup">dmsetup</primary>
|
---|
| 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
| 375 | <varlistentry id="fsadm">
|
---|
| 376 | <term><command>fsadm</command></term>
|
---|
| 377 | <listitem>
|
---|
[c627795] | 378 | <para>
|
---|
[4c24eb0a] | 379 | is a utility used to resize or check filesystem on a device
|
---|
[c627795] | 380 | </para>
|
---|
[8bc3edae] | 381 | <indexterm zone="lvm2 fsadm">
|
---|
| 382 | <primary sortas="b-fsadm">fsadm</primary>
|
---|
| 383 | </indexterm>
|
---|
| 384 | </listitem>
|
---|
| 385 | </varlistentry>
|
---|
| 386 |
|
---|
| 387 | <varlistentry id="lvm">
|
---|
| 388 | <term><command>lvm</command></term>
|
---|
| 389 | <listitem>
|
---|
[c627795] | 390 | <para>
|
---|
| 391 | provides the command-line tools for <application>LVM2</application>.
|
---|
| 392 | Commands are implemented via sympolic links to this program to
|
---|
| 393 | manage physical devices (pv*), volume groups (vg*) and logical
|
---|
[4c24eb0a] | 394 | volumes (lv*)
|
---|
[c627795] | 395 | </para>
|
---|
[8bc3edae] | 396 | <indexterm zone="lvm2 lvm">
|
---|
| 397 | <primary sortas="b-lvm">lvm</primary>
|
---|
| 398 | </indexterm>
|
---|
| 399 | </listitem>
|
---|
| 400 | </varlistentry>
|
---|
| 401 |
|
---|
[23ed085] | 402 | <!--
|
---|
[8bc3edae] | 403 | <varlistentry id="lvmconf">
|
---|
| 404 | <term><command>lvmconf</command></term>
|
---|
| 405 | <listitem>
|
---|
[c627795] | 406 | <para>
|
---|
[0d7900a] | 407 | is a script that modifies the locking configuration in
|
---|
[c627795] | 408 | the <application>LVM2</application> configuration file.
|
---|
| 409 | </para>
|
---|
[8bc3edae] | 410 | <indexterm zone="lvm2 lvmconf">
|
---|
| 411 | <primary sortas="b-lvmconf">lvmconf</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
[23ed085] | 415 | -->
|
---|
[8bc3edae] | 416 |
|
---|
| 417 | <varlistentry id="lvmdump">
|
---|
| 418 | <term><command>lvmdump</command></term>
|
---|
| 419 | <listitem>
|
---|
[c627795] | 420 | <para>
|
---|
| 421 | is a tool used to dump various information concerning
|
---|
[4c24eb0a] | 422 | <application>LVM2</application>
|
---|
[c627795] | 423 | </para>
|
---|
[8bc3edae] | 424 | <indexterm zone="lvm2 lvmdump">
|
---|
| 425 | <primary sortas="b-lvmdump">lvmdump</primary>
|
---|
| 426 | </indexterm>
|
---|
| 427 | </listitem>
|
---|
| 428 | </varlistentry>
|
---|
| 429 |
|
---|
| 430 | <varlistentry id="vgimportclone">
|
---|
| 431 | <term><command>vgimportclone</command></term>
|
---|
| 432 | <listitem>
|
---|
[c627795] | 433 | <para>
|
---|
[4c24eb0a] | 434 | is used to import a duplicated VG (e.g. hardware snapshot)
|
---|
[c627795] | 435 | </para>
|
---|
[8bc3edae] | 436 | <indexterm zone="lvm2 vgimportclone">
|
---|
| 437 | <primary sortas="b-vgimportclone">vgimportclone</primary>
|
---|
| 438 | </indexterm>
|
---|
| 439 | </listitem>
|
---|
| 440 | </varlistentry>
|
---|
| 441 |
|
---|
| 442 | <varlistentry id="libdevmapper">
|
---|
[4c24eb0a] | 443 | <term><filename class="libraryfile">libdevmapper.so</filename></term>
|
---|
[8bc3edae] | 444 | <listitem>
|
---|
[c627795] | 445 | <para>
|
---|
| 446 | contains the <application>Device Mapper</application> API
|
---|
[4c24eb0a] | 447 | functions
|
---|
[c627795] | 448 | </para>
|
---|
[8bc3edae] | 449 | <indexterm zone="lvm2 libdevmapper">
|
---|
| 450 | <primary sortas="c-libdevmapper">libdevmapper.so</primary>
|
---|
| 451 | </indexterm>
|
---|
| 452 | </listitem>
|
---|
| 453 | </varlistentry>
|
---|
| 454 |
|
---|
| 455 | </variablelist>
|
---|
| 456 |
|
---|
| 457 | </sect2>
|
---|
| 458 |
|
---|
| 459 | </sect1>
|
---|