whatis lvm

LVM (Logical Volume Manager)

Also known as: logical volume, PV, VG, LV

A storage layer that pools physical disks into volume groups and carves flexible, resizable logical volumes from them.

What Is LVM (Logical Volume Manager) in Linux?

LVM has three layers: physical volumes (disks or partitions), volume groups (the pooled space), and logical volumes (what you format and mount). Logical volumes can grow, shrink, span disks, and take snapshots without repartitioning.

Adding a disk to a full server becomes pvcreate, vgextend, lvextend -r, with no downtime. Many server installers set up LVM by default, often on top of LUKS encryption.

Example

sudo lvextend -r -L +20G /dev/vg0/home