Use it when LVs do not appear, the system boots without a volume, or LVM commands warn.
LVM Troubleshooting
LVM troubleshooting covers missing PVs, partial VGs, LVs not activating at boot, full snapshots and duplicate PV IDs from cloned disks.
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.
PVs present → VG complete → LVs activated → filesystems mounted
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
Operational reference
Fast context before you go deeper.
pvs -o +pv_missingVerification & 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
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 --removemissingwithout understanding data loss.
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.
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.
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
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
| Symptom | Command | Look for |
|---|---|---|
| VG missing after boot | pvs -a, vgscan --mknodes, vgchange -ay | PVs not detected (multipath, filter in lvm.conf) |
WARNING: Device for PV ... not found | pvs -o+pv_missing | Disk missing; VG partial |
| LV inactive | lvs -a -o+lv_active | Activate: lvchange -ay vg/lv |
| Duplicate PV UUIDs (cloned disk, multipath) | pvs warnings | lvm.conf filter or vgimportclone for clones |
| Thin pool full | lvs -o+data_percent,metadata_percent | Extend pool / metadata (lvextend --poolmetadatasize) |
| Snapshot invalid | lvs attr S/I | Old-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.*
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:
| Symptom | Fix |
|---|---|
| LV not activated after boot | vgchange -ay, check lvm.conf filters/devices file, initramfs |
WARNING: PV … missing | Disk gone — check hardware; vgreduce --removemissing only if data is expendable |
| Duplicate PV warnings | Multipath members seen twice — filter to /dev/mapper/mpath* |
| VG metadata damaged | vgcfgrestore -f /etc/lvm/archive/<file> vg_data |
| Thin pool full | lvextend pool data/metadata, free space via fstrim |
| Cloned VM with same VG name | vgimportclone |
pvscan --cache; vgscan; lvscan
lvs -a -o +devices,lv_health_status
journalctl -b | grep -i lvm
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
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 → 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%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
LVM Troubleshooting operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for LVM Troubleshooting.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | 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 | symptom/time → block device → PV discovery/UUID → VG membership/metadata → LV segments/activation → filesystem/mount → workload I/O → minimal fix → original-test verification | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | 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. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated 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 verification | 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. 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 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. |
LVM Troubleshooting · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | LVM Troubleshooting |
|---|---|
| Topic path | LVM → LVM Troubleshooting |
| Runtime state | 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. |
| 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 chain | symptom/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 boundary | 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. 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. |