Pcornel
Storage · Logical Volume Management

Volume Group

Cheat sheet · https://pcornel.dk/topic.php?topic=3968

Back to the Topic

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 space
  • vgdisplay <vg> — details
  • vgextend <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 boundaryWhat to verifyProof limit
Identity / mappingPV, VG, LV/thin-pool identity, size, membership and activation/mappingObject presence alone does not prove upper filesystem or lower path health
Allocation / capacityVG extents, LV size, thin data + metadata usage and upper-consumer capacityFree capacity at one layer does not prove allocation succeeds end to end
Failure boundaryAvailable 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?