%general-entities; ]> $LastChangedBy$ $Date$ LVM2-&lvm2-version; LVM2 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. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &lvm2-md5sum; Download size: &lvm2-size; Estimated disk space required: &lvm2-buildsize; Estimated build time: &lvm2-time; User Notes: 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) lvm2 Installation of LVM2 Install LVM2 by running the following commands: ./configure --prefix=/usr \ --exec-prefix= \ --with-confdir=/etc \ --enable-applib \ --enable-cmdlib \ --enable-pkgconfig \ --enable-udev_sync && make To test the results, issue: make check. Now, as the root user: make install Command Explanations : This switch enables building of the shared application library. : This switch enables building of the shared command library. It is required when building the event daemon. : This switch enables installation of pkg-config support files. : This switch enables synchronisation with Udev processing. : This switch enables building of the Device Mapper event daemon. Contents Installed Programs Installed Libraries dmsetup, fsadm, lvm, lvmconf, lvmdump, vgimportclone. There are also numerous symbolic links to lvm that implement specific functionality. libdevmapper.so, liblvm2app.so and liblvm2cmd.so Short Descriptions dmsetup is a low level logical volume management tool. dmsetup fsadm is an utility used to resize or check filesystem on a device. fsadm 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*). lvm lvmconf is a script that modifies the locking configuration in the LVM2 configuration file. lvmconf lvmdump is a tool used to dump various information concerning LVM2. lvmdump vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). vgimportclone libdevmapper.so contains the Device Mapper API functions. libdevmapper.so