Logical Volume Manager (LVM) provides a more advanced and flexible method to manage logical volumes or filesystems on Linux kernel. Many operations such as resizing, moving, combining partition could be done at will, even while the system is running.
Most Linux distribution can done LVM while installation. This manual will demonstrate basic usage of LVM.
Some Concepts of LVM
Before implementation, you should know some basic definitions:
PV : Hard disk partitions. Stands for "physical volume".
VG : For "volume groups". A collection of PVs. Can combine multiple device
to a VG as a single device.
LV : A virtual partition that under a VG. Stands for "logical volume".
Simple steps for LVM:
Create a VG for combining usage.
Add PVs to existing VG. (may need to declare some physical partition to PV
if using command line tool fo LVM)
Create some LVs in a VG.
You can use LVs as traditional partitions. Format them now!