Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

LVM Troubleshooting

Direct answer

LVM troubleshooting covers missing PVs, partial VGs, LVs not activating at boot, full snapshots and duplicate PV IDs from cloned disks.

When to use this

Use it when LVs do not appear, the system boots without a volume, or LVM commands warn.

First 30 seconds

1. pvs; vgs; lvs — warnings (missing, partial, duplicate)?

2. Inactive → vgchange -ay <vg>.

3. Missing disk → check hardware, then vgreduce --removemissing only if lost.

4. Root LV not found at boot → rebuild initramfs; check rd.lvm.lv=.

5. journalctl -b | grep -i lvm.

Operational verification

PVs present → VG complete → LVs activated → filesystems mounted

Evidence · next step

For LVM → LVM Troubleshooting, continue with the first unproven Topic check: Capture block/PV/VG/LV topology, UUIDs, sizes, segment mappings and kernel/device-mapper errors. If that boundary is healthy, advance to the adjacent check: Compare expected versus present PVs and inspect VG metadata copies/backups before repair. 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 commandpvs -o +pv_missing
Scope / prerequisiteUse it when LVs do not appear, the system boots without a volume, or LVM commands warn.
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

symptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verification

Healthy evidence: all expected devices/PVs are present, VG metadata is coherent, LVs activate fully, filesystems mount cleanly and the original workload passes without new kernel errors.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Capture block/PV/VG/LV topology, UUIDs, sizes, segment mappings and kernel/device-mapper errors.

  • Compare expected versus present PVs and inspect VG metadata copies/backups before repair.
  • Verify LV activation and upper filesystem/mount state independently.
  • Make one minimal change at the first failing step and repeat the original workload test.

Verification chain. symptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verification

Step 3 Commands Verify boundary
pvs -o +pv_missing
vgck vg0
lvs -a
journalctl -k | grep -i device-mapper
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: missing PV UUIDs, duplicate devices, partial activation, invalid snapshot dependencies, device-mapper errors or forcing recovery before preserving metadata can worsen the incident.

Step 5 Common mistakes Narrow the fault
  • Running vgreduce --removemissing without understanding data loss.
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

Read the warnings of pvs/vgs first. Inactive LVs: vgchange -ay. Root on LVM not found → initramfs and root= parameter. Cloned disks with duplicate PV UUIDs need vgimportclone.

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

Pin the incident time and affected LV/workload, then capture read-only topology before repairs. Walk bottom-up: block device identity/health, PV UUIDs, expected VG membership/metadata, LV segment mapping/activation, filesystem/mount and workload. Preserve metadata backups and avoid forced activation/removal until missing-device and dependency state is understood.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

LVM troubleshooting is complete only when the first failing step is confirmed and the original workload passes after a minimal controlled repair; command success alone is not closure.

In depth

LVM keeps metadata history — use it

LVM writes a metadata backup and archive copy before every change (typically /etc/lvm/backup/<vg> and /etc/lvm/archive/<vg>_NNNNN-*.vg per lvm.conf). The vgcfgrestore manual documents --list to show those files for a VG and restoring a VG's configuration from them.

# vgcfgrestore --list vg_data
  File:         /etc/lvm/archive/vg_data_00012-1234567890.vg
  VG name:      vg_data
  Description:  Created *before* executing 'lvremove vg_data/lv_old'
  Backup Time:  Fri Nov 27 09:12:40 2026
# vgcfgrestore --test -f /etc/lvm/archive/vg_data_00012-1234567890.vg vg_data
# vgcfgrestore -f /etc/lvm/archive/vg_data_00012-1234567890.vg vg_data
# vgchange -ay vg_data

Restoring metadata brings back LV definitions (for example after an accidental lvremove) — the data is intact only if nothing overwrote those extents since. Thin pools need extra care (--force and pool metadata checks); test with --test first.

Symptom → first command

SymptomCommandLook for
VG missing after bootpvs -a, vgscan --mknodes, vgchange -ayPVs not detected (multipath, filter in lvm.conf)
WARNING: Device for PV ... not foundpvs -o+pv_missingDisk missing; VG partial
LV inactivelvs -a -o+lv_activeActivate: lvchange -ay vg/lv
Duplicate PV UUIDs (cloned disk, multipath)pvs warningslvm.conf filter or vgimportclone for clones
Thin pool fulllvs -o+data_percent,metadata_percentExtend pool / metadata (lvextend --poolmetadatasize)
Snapshot invalidlvs attr S/IOld-style snapshot overflowed — remove it

Missing PV

vgchange -ay --activationmode partial vg_data     # read what is still available
vgreduce --removemissing vg_data                  # only after deciding the PV is gone for good

--removemissing drops LVs that had extents on the missing disk — copy off data from partial activation first.

Filters

lvm.conf filter/global_filter and the devices file (/etc/lvm/devices/system.devices on newer distributions) decide which disks LVM scans. A disk not in the devices file is ignored — check with lvmdevices before assuming data loss.

*The LVM metadata archive listing uses a fictional volume group and is not an actual metadata backup.*

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

LVM Troubleshooting is part of LVM → LVM Troubleshooting. LVM Troubleshooting localizes failures across backing block devices, PV discovery, VG metadata/membership, LV activation/device-mapper mappings, upper filesystem state and the final workload instead of treating every /dev/mapper symptom as one LVM problem.

Topic-specific state model. LVM Troubleshooting localizes failures across backing block devices, PV discovery, VG metadata/membership, LV activation/device-mapper mappings, upper filesystem state and the final workload instead of treating every /dev/mapper symptom as one LVM problem.

Interpretation rule. - Missing LV path ≠ LV metadata necessarily deleted.

  • Partial VG activation ≠ healthy usable storage.
  • LVM metadata restored ≠ filesystem/data is healthy.
  • Workload failure ≠ LVM is the root cause until first failing step is confirmed.

Method

LVM troubleshooting:

SymptomFix
LV not activated after bootvgchange -ay, check lvm.conf filters/devices file, initramfs
WARNING: PV … missingDisk gone — check hardware; vgreduce --removemissing only if data is expendable
Duplicate PV warningsMultipath members seen twice — filter to /dev/mapper/mpath*
VG metadata damagedvgcfgrestore -f /etc/lvm/archive/<file> vg_data
Thin pool fulllvextend pool data/metadata, free space via fstrim
Cloned VM with same VG namevgimportclone
pvscan --cache; vgscan; lvscan
lvs -a -o +devices,lv_health_status
journalctl -b | grep -i lvm
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. LVM troubleshooting is complete only when the first failing step is confirmed and the original workload passes after a minimal controlled repair; command success alone is not closure.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. LVM Troubleshooting owns cross-layer localization inside the Linux LVM stack. Device/media, filesystem and application-specific failures stay with the relevant Topics once localized.

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 → LVM Troubleshooting. 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 troubleshootingmissing logical volumevolume group partialdevice mapper lvm failure
Embedded reference data

Quick lookup tables

LVM Troubleshooting operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for LVM Troubleshooting.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateLVM Troubleshooting localizes failures across backing block devices, PV discovery, VG metadata/membership, LV activation/device-mapper mappings, upper filesystem state and the final workload instead of treating every /dev/mapper symptom as one LVM problem.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 chainsymptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verificationTrace requested/configured state through effective state to the observed workload result.
Failure boundaryLVM troubleshooting is complete only when the first failed boundary is proven and the original workload passes after a minimal controlled repair; command success alone is not closure.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux storage evidence can establish this proof path: symptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verificationUse 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. LVM troubleshooting is complete only when the first failed boundary is proven and the original workload passes after a minimal controlled repair; command success alone is not closure.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.

LVM Troubleshooting · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryLVM Troubleshooting
Topic pathLVM → LVM Troubleshooting
Runtime stateLVM Troubleshooting localizes failures across backing block devices, PV discovery, VG metadata/membership, LV activation/device-mapper mappings, upper filesystem state and the final workload instead of treating every /dev/mapper symptom as one LVM problem.
Fast checks- Capture block/PV/VG/LV topology, UUIDs, sizes, segment mappings and kernel/device-mapper errors. - Compare expected versus present PVs and inspect VG metadata copies/backups before repair. - Verify LV activation and upper filesystem/mount state independently. - Make one minimal change at the first failed boundary and repeat the original workload test.
Verification chainsymptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verification Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryLVM troubleshooting is complete only when the first failed boundary is proven and the original workload passes after a minimal controlled repair; command success alone is not closure. 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?