Storage · Logical Volume Management
Volume Group
Cheat sheet · https://pcornel.dk/topic.php?topic=3968
Answer
A volume group (VG) pools one or more LVM physical volumes into a single capacity from which logical volumes are created. Its free space and health depend on all member disks being present.
Remember
- VG free space ≠ filesystem free space.
- VG online/visible ≠ all member PVs healthy.
- Adding a PV increases VG capacity ≠ increases any LV automatically.
- VG ≠ redundancy unless the underlying layout provides it.
First checks
vgs -o +vg_free,vg_extent_size— free spacevgdisplay <vg>— detailsvgextend <vg> /dev/sdY— add PV
Verify in this order
PVs → VG extents → LVs
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
Logical Volume Management → Volume Group LVM map
| LVM boundary | What to verify | Proof limit |
|---|---|---|
| Identity / mapping | PV, VG, LV/thin-pool identity, size, membership and activation/mapping | Object presence alone does not prove upper filesystem or lower path health |
| Allocation / capacity | VG extents, LV size, thin data + metadata usage and upper-consumer capacity | Free capacity at one layer does not prove allocation succeeds end to end |
| Failure boundary | Available VG extents prove LVM has unallocated block capacity in that VG; they do not prove the filesystem has grown, the new PV has equivalent performance or the VG is resilient to device loss. | Correlate LVM evidence with both consumer and lower block path before recovery |
| Acceptance | Healthy evidence: expected PV membership is complete, metadata is consistent, free extents meet policy and all required LVs are active with stable underlying paths. | Close only after the original workload and independent read-back/consistency check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3968