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 Learn more about LVM (Logical Volume Manager)
- LVM (Logical Volume Manager) Explained LVM adds a flexible layer between raw disks and filesystems, letting you resize, combine, and snapshot storage without being locked into fixed-size partitions. This guide covers physical volumes, volume groups, logical volumes, and common resizing operations.
- Linux Partitioning Explained Partitioning divides a disk into sections that the OS treats as independent storage units. Understanding partition tables (MBR vs GPT), partition types (EFI, swap, root, home), and filesystems (ext4, btrfs, xfs) lets you make informed decisions during installation.
Related tools
- LVM Command Builder Get the full command sequence for creating, extending, and snapshotting logical volumes.