Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Volume Group (VG)

Direct answer

A volume group (VG) pools the space of one or more PVs; logical volumes are allocated from it.

When to use this

Use it to add capacity to LVM, or when there is no free space to extend a volume.

First 30 seconds

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.

Operational verification

PVs added → VG free extents → allocated to LVs

Evidence · next step

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
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Key commandvgs
Scope / prerequisiteUse it to add capacity to LVM, or when there is no free space to extend a volume.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points

vgs shows VFree. Extend with vgextend <vg> /dev/<newpv>. Avoid spanning a VG over disks without redundancy if losing one disk is unacceptable.

Key checks
  • pvs — physical volumes
  • vgs — volume groups and free space
  • lvs -a -o +devices — logical volumes and their devices
  • lsblk — 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:

  • vgcreate creates a VG on block devices, and initialises any device that isn't yet a PV, the same way pvcreate would.
  • -s sets 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

TaskCommand
Createvgcreate vg1 /dev/sdc /dev/sdd
Add a diskvgextend vg1 /dev/sde
Move data off a diskpvmove /dev/sdd (online)
Remove an empty diskvgreduce vg1 /dev/sdd
Renamevgrename vg1 vgdata (update fstab if it refers to /dev/vg1/...)
Back up metadatavgcfgbackup vg1
Restore metadatavgcfgrestore vg1 (from the backup)
Deactivate, export, import (moving disks)vgchange -an, vgexport, vgimport

VG attributes

Attr positionLetterMeaning
1w / rWritable / read-only
2zResizable
3xExported
4pPartial: a PV is missing
5n / c / aAllocation policy: normal, contiguous, anywhere
6cClustered 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
lvm volume groupvg lvmvg free extentsmissing pv volume group
Embedded reference data

Quick lookup tables

Volume Group (VG) operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Volume Group (VG).

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateAn 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 verificationPin 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 chainPV set + metadata copies → VG identity/extent pool → allocation policy → LV segment maps → device-mapper activation → filesystem/workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryVG 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 evidenceCorrelated 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/workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt 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 checkContinue 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 boundaryVolume Group (VG)
Topic pathLVM → Volume Group (VG)
Runtime stateAn 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 chainPV 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 boundaryVG 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 ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?