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