lvm2-2.02.88
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.1
platform.
Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lvm2
Kernel Configuration
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
following commands:
./configure --sbindir=/sbin --libdir=/lib --enable-pkgconfig &&
make
Now, as the root user:
make install
Command Explanations
--enable-pkgconfig: This
parameter installs pkgconfig support.
--enable-dmeventd: This option builds
the device-mapper event daemon.
--enable-cmdlib: This option builds the
shared command library. It is required when building the daemon.
Contents
Installed Programs:
dmsetup, fsadm, lvm, lvmconf, lvndump,
vgimportclone. There are also numerous symbolic links to lvm to
impement specific functionality.
Installed Libraries:
libdevmapper.so
Installed Directories:
None
Short Descriptions
|
dmsetup
|
is a low level logical volume management tool.
|
|
fsadm
|
is a utility to resize or check filesystem on a device.
|
|
lvm
|
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*).
|
|
lvmconf
|
is a script that modifies the locking configuration in an
lvm configuration file.
|
|
lvmdump
|
is a tool to dump various information concerning lvm2.
|
|
vgimportclone
|
is used to import a duplicated VG (e.g. hardware
snapshot).
|
|
libdevmapper.so
|
contains the device-mapper API functions.
|
Last updated on 2012-05-24 02:48:38 +0000