A Linux user's guide to Logical Volume Management | Opensource.com


A Linux user's guide to Logical Volume Management Adding a new physical hard drive for additional space need not involve reformatting or addressing additional partitions... with Linux you can have a logical volume span multiple hard drives and resize it on the fly. LVM (Logical Volume Manager) allows for very flexible disk space management. It provides features like the ability to add disk space to a logical volume and its filesystem while that filesystem is mounted and active and it allows for the collection of multiple physical hard drives and partitions into a single volume group which can then be divided into logical volumes. The volume manager also allows reducing the amount of disk space allocated to a logical volume, but there are a couple requirements. First, the volume must be unmounted. Second, the filesystem itself must be reduced in size before the volume on which it resides can be reduced. It is important to note that the filesystem itself must allow resizing for this feature to work. The EXT2, 3, and 4 filesystems all allow both offline (unmounted) and online (mounted) resizing when increasing the size of a filesystem, and offline resizing when reducing the size. See a guide on how to do this at http://ift.tt/2dm44tM

Comments