Use it to add capacity to LVM, or when there is no free space to extend a volume.
Volume Group (VG)
A volume group (VG) pools the space of one or more PVs; logical volumes are allocated from it.
1. vgs — VFree enough?
2. Add space: pvcreate the new disk, vgextend <vg> /dev/<dev>.
3. Partial VG → missing PV; fix before changes.
4. vgdisplay <vg> — details.
5. Then extend the LV.
PVs added → VG free extents → allocated to LVs
For LVM → Volume Group (VG), continue with the first unproven Topic check: Enumerate expected versus present PV UUIDs and VG metadata copies. If that boundary is healthy, advance to the adjacent check: Confirm VG UUID, extent size, total/free/allocated extents and activation state. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
vgsVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
PV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workload
Healthy evidence: all expected PVs are present, metadata sequence is coherent, extent accounting balances and all intended LVs activate without partial/missing mappings.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Enumerate expected versus present PV UUIDs and VG metadata copies.
- Confirm VG UUID, extent size, total/free/allocated extents and activation state.
- Inspect missing/unknown PVs before any metadata repair or forced activation.
- Map every affected LV and test upper filesystems/workloads after VG recovery.
Verification chain. PV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workload
Step 3 Commands Verify boundary
vgcreate vg0 /dev/sdb
vgextend vg0 /dev/sdc
vgs
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: missing PVs, duplicate/stale metadata, forced partial activation or unexplained extent accounting changes indicate VG metadata/member failure.
Step 5 Common mistakes Narrow the fault
- VGs spanning disks without RAID (one disk loss breaks all).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
vgs shows VFree. Extend with vgextend <vg> /dev/<newpv>. Avoid spanning a VG over disks without redundancy if losing one disk is unacceptable.
pvs— physical volumesvgs— volume groups and free spacelvs -a -o +devices— logical volumes and their deviceslsblk— stack view
ReferenceWhat it is1 section · depth on demand
Core model
Treat VG health as a membership and metadata problem before treating it as an LV/filesystem problem. Confirm all expected PV UUIDs, VG UUID/name, metadata sequence/state and free/allocated extent totals. Partial activation can expose only a subset of LVs and must not be mistaken for a fully healthy VG.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
VG evidence shows volume-group metadata, membership and allocation state, not individual LV filesystem integrity or application health.
In depth
Volume groups
A volume group pools the space of one or more physical volumes, and logical volumes are carved out of that pool. The vgcreate(8) manual page explains:
vgcreatecreates a VG on block devices, and initialises any device that isn't yet a PV, the same way pvcreate would.-ssets the physical extent size. It must be a power of two, of at least one sector, or at least 128 KiB.- A device that's already a PV keeps its existing metadata settings.
VG operations
| Task | Command |
|---|---|
| Create | vgcreate vg1 /dev/sdc /dev/sdd |
| Add a disk | vgextend vg1 /dev/sde |
| Move data off a disk | pvmove /dev/sdd (online) |
| Remove an empty disk | vgreduce vg1 /dev/sdd |
| Rename | vgrename vg1 vgdata (update fstab if it refers to /dev/vg1/...) |
| Back up metadata | vgcfgbackup vg1 |
| Restore metadata | vgcfgrestore vg1 (from the backup) |
| Deactivate, export, import (moving disks) | vgchange -an, vgexport, vgimport |
VG attributes
| Attr position | Letter | Meaning |
|---|---|---|
| 1 | w / r | Writable / read-only |
| 2 | z | Resizable |
| 3 | x | Exported |
| 4 | p | Partial: a PV is missing |
| 5 | n / c / a | Allocation policy: normal, contiguous, anywhere |
| 6 | c | Clustered or shared |
Replacing a disk online
pvmove copies all extents from one PV to free space on others, while the LVs stay in use. The VG needs enough free space on the remaining PVs, or a new disk added first.
host$ sudo vgcreate vg1 /dev/sdc /dev/sdd
Volume group "vg1" successfully created
host$ sudo vgs -o vg_name,pv_count,lv_count,vg_size,vg_free,vg_extent_size,vg_attr
VG #PV #LV VSize VFree Ext Attr
vg1 2 1 199.99g 99.99g 4.00m wz--n-
host$ sudo vgextend vg1 /dev/sde
host$ sudo pvmove /dev/sdd
/dev/sdd: Moved: 23.41%
/dev/sdd: Moved: 100.00%
host$ sudo vgreduce vg1 /dev/sdd && sudo pvremove /dev/sdd
host$ ls /etc/lvm/backup/ /etc/lvm/archive/ | head
Metadata history
LVM keeps metadata copies under /etc/lvm/archive, written before every change. vgcfgrestore --list vg1 shows them. After an accidental lvremove, restoring the previous metadata can bring the LV back, as long as no new data has overwritten its extents.
Documented example, not captured output.
How it works at runtime
Volume Group (VG) is part of LVM → Volume Group (VG). An LVM Volume Group aggregates Physical Volume extents into a shared allocation pool and stores metadata describing PV membership, free extents and Logical Volume mappings.
Topic-specific state model. An LVM Volume Group aggregates Physical Volume extents into a shared allocation pool and stores metadata describing PV membership, free extents and Logical Volume mappings.
Interpretation rule. - VG name found ≠ all member PVs are present.
- VG active ≠ metadata/member redundancy is healthy.
- Free extents reported ≠ suitable placement is possible under every allocation policy.
- Partial activation ≠ safe normal operation.
Quick reference
Volume groups pool PVs.
vgcreate vg_data /dev/sdb /dev/sdc
vgextend vg_data /dev/sdd
vgs -o vg_name,vg_size,vg_free,pv_count,lv_count,vg_attr
vgcfgbackup; ls /etc/lvm/archive/
vgcfgrestore -l vg_data
vgrename vg_old vg_data
vgchange -ay vg_data
Metadata backups in /etc/lvm/archive are made before every change — keep them in host backups; they are the recovery path when VG metadata is damaged.
Limits and how it fails
Primary failure point. VG evidence shows volume-group metadata, membership and allocation state, not individual LV filesystem integrity or application health.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Volume Group owns PV membership and shared extent allocation. PV owns individual devices; LV owns logical mappings consumed above.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in LVM → Volume Group (VG). Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/ · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Volume Group (VG) operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Volume Group (VG).
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | An LVM Volume Group aggregates Physical Volume extents into a shared allocation pool and stores metadata describing PV membership, free extents and Logical Volume mappings. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin host + incident/change time → capture block topology and stable identities → validate partition/device metadata → validate filesystem identity/integrity and effective mount namespace/options → validate PV/VG/LV/device-mapper state where used → make one controlled change at the first failed boundary → re-read effective storage state → repeat original workload I/O/acceptance test. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | PV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | VG evidence proves volume-group metadata, membership and allocation state, not individual LV filesystem integrity or application health. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux storage evidence can establish this proof path: PV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured device, metadata, mapping, mount or workload scope. VG evidence proves volume-group metadata, membership and allocation state, not individual LV filesystem integrity or application health. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: prove backing identity, then on-device metadata, then filesystem/LVM mapping and effective mount/device state, and finally repeat the original workload I/O before any additional storage change. | Continue to the next unresolved boundary while preserving the original test condition. |
Volume Group (VG) · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Volume Group (VG) |
|---|---|
| Topic path | LVM → Volume Group (VG) |
| Runtime state | An LVM Volume Group aggregates Physical Volume extents into a shared allocation pool and stores metadata describing PV membership, free extents and Logical Volume mappings. |
| Fast checks | - Enumerate expected versus present PV UUIDs and VG metadata copies. - Confirm VG UUID, extent size, total/free/allocated extents and activation state. - Inspect missing/unknown PVs before any metadata repair or forced activation. - Map every affected LV and test upper filesystems/workloads after VG recovery. |
| Verification chain | PV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. |
| Failure boundary | VG evidence proves volume-group metadata, membership and allocation state, not individual LV filesystem integrity or application health. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |