These are the actual hardware (HDD, SSD), that store your information. They serve as the foundation for the logical volumes and volume groups.
pvdisplay
--- Physical volume --- PV Name /dev/mapper/nvme0n1p3_crypt VG Name udia-lenovo-c740-vg PV Size 953.11 GiB / not usable 0 Allocatable yes PE Size 4.00 MiB Total PE 243997 Free PE 46241 Allocated PE 197756 PV UUID tev150-KazX-GKQB-pTdJ-I0cO-L1YY-rrJk9B
Volume Groups (VGs)
Volume groups are disk abstractions that depend on the physical volumes. They may span multiple physical volumes or reside within a single physical volume. They can be resized and moved between physical volumes.
vgdisplay
--- Volume group --- VG Name udia-lenovo-c740-vg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 5 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 3 Max PV 0 Cur PV 1 Act PV 1 VG Size 953.11 GiB PE Size 4.00 MiB Total PE 243997 Alloc PE / Size 197756 / 772.48 GiB Free PE / Size 46241 / <180.63 GiB VG UUID TfKBVz-fpfe-RkhE-jtjG-v6rl-psdG-tTpGRr
Logical Volumes (LVs)
Logical volumes are equivalent to a disk partition on a non-LVM system, but due to LVM, can extend across multiple physical hard drives.
lvdisplay
--- Logical volume --- LV Path /dev/udia-lenovo-c740-vg/root LV Name root VG Name udia-lenovo-c740-vg LV UUID kuvG5D-dS2o-AcDI-T91Y-5ffH-9KMm-ATloyU LV Write Access read/write LV Creation host, time udia-lenovo-c740, 2020-06-24 20:26:01 -0600 LV Status available # open 1 LV Size <37.94 GiB Current LE 9712 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1
--- Logical volume --- LV Path /dev/udia-lenovo-c740-vg/swap_1 LV Name swap_1 VG Name udia-lenovo-c740-vg LV UUID kQ0w8H-lEq5-F2rG-mtiE-daf1-SKyy-DINnxb LV Write Access read/write LV Creation host, time udia-lenovo-c740, 2020-06-24 20:26:01 -0600 LV Status available # open 2 LV Size <15.71 GiB Current LE 4021 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:2
--- Logical volume --- LV Path /dev/udia-lenovo-c740-vg/home LV Name home VG Name udia-lenovo-c740-vg LV UUID n76nkw-wdZ0-fblQ-nXVo-awcZ-fg27-ItAEu6 LV Write Access read/write LV Creation host, time udia-lenovo-c740, 2020-06-24 20:26:01 -0600 LV Status available # open 1 LV Size <718.84 GiB Current LE 184023 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:3
Because my root partition is running btrfs, I can increase the space with the following:
# increase root partition by 10 GiB lvextend -l +2560 /dev/udia-lenovo-c740-vg/root # resize partition to take up available space btrfs filesystem resize max /