Introduction to LVM2
The LVM2 package is a package that
manages logical partitions. It allows spanning of file systems
across multiple physical disks and disk partitions and provides for
dynamic growing or shrinking of logical partitions.
This package is known to build and work properly using an LFS-7.2
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lvm2
Enable the following option in the kernel configuration and
recompile the kernel:
Device Drivers --->
Multiple devices driver support (RAID and LVM): Y
Device mapper support: Y or M
Crypt target support: (optional)
Snapshot target: (optional)
Mirror target: (optional)
Installation of LVM2
Install LVM2 by running the
./configure --prefix=/usr \
To test the results, issue: make
Now, as the
--enable-applib: This switch enables
building of the shared application library.
--enable-cmdlib: This switch enables
building of the shared command library. It is required when
building the event daemon.
--enable-pkgconfig: This switch enables
installation of pkg-config support files.
--enable-udev_sync: This switch enables
synchronisation with Udev
--enable-dmeventd: This switch enables
building of the Device Mapper
dmsetup, fsadm, lvm, lvmconf, lvmdump,
vgimportclone. There are also numerous symbolic links to lvm
that implement specific functionality.
libdevmapper.so, liblvm2app.so and
is a low level logical volume management tool.
is an utility used to resize or check filesystem on a
provides the command-line tools for LVM2. Commands are implemented via
sympolic links to this program to manage physical devices
(pv*), volume groups (vg*) and logical volumes (lv*).
is a script that modifies the locking configuration in
the LVM2 configuration
is a tool used to dump various information concerning
is used to import a duplicated VG (e.g. hardware
contains the Device
Mapper API functions.
Last updated on 2013-02-11 18:51:17 +0000