Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

LVM Troubleshooting

Direct answer

LVM troubleshooting maps the problem from the logical volume down to its volume group, physical volumes and disks, comparing with a known-good state. Back up the LVM metadata before activating, repairing or recreating anything.

When to use this

Use it when the storage question has been narrowed to Logical Volume Management → LVM Troubleshooting. Map the upper consumer through LV/VG/PV to the backing block path, separate allocation state from filesystem/data state, and preserve metadata plus recovery options before destructive changes.

First 30 seconds

1. Problems: missing PV, full thin pool, duplicate PVs (multipath), activation failures.

2. Check filters.

3. Restore metadata from /etc/lvm/archive carefully.

4. vgchange -ay to activate.

5. Never pvcreate over an existing PV.

Operational verification

devices → PV scan → VG → LV activation

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Suspicious evidence: partial VG, unknown PV, duplicate identity, inactive LV, thin metadata/data pressure, stale lower path, forced activation, metadata recreation without backups or multiple simultaneous changes.

Platform / version applicability
Logical Volume Management storage
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.

PlatformLogical Volume Management storage · Linux LVM
Key commandlvs -a -o lv_name,vg_name,lv_attr,lv_size,devices
Scope / prerequisiteUse it when the storage question has been narrowed to Logical Volume Management → LVM Troubleshooting. Map the upper co…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Storage command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

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

1 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 Verification path Verify boundary

symptom/time → consumer/filesystem → LV/device-mapper → VG metadata/extents → PV identity → block path/media → minimal change → original-test verification

Healthy evidence: expected PV/VG/LV identities and mappings are complete, target devices activate correctly, lower paths are stable, thin pools have headroom and the original upper-layer workload plus read-back succeeds.

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
  • Missing LV ≠ automatically lost data.
  • Inactive VG/LV ≠ corrupted filesystem.
  • Missing PV path ≠ failed physical disk necessarily.
  • Recreating PV/VG metadata from guesswork ≠ recovery.
Key checks
  • pvs; vgs; lvs -a — state
  • vgck <vg> — metadata check
  • vgcfgrestore --list <vg> — metadata backups
ReferenceImportant terms & boundaries3 sections · depth on demand

Allocation

The first failed LVM boundary narrows ownership; evidence at one layer does not show adjacent layers or data integrity. Destructive metadata recreation, forced activation, repair or shrink must wait until identities, lower paths and recovery options are understood.

In depth

Work from physical volumes up to logical volumes

lvm(8) names the configuration files /etc/lvm/lvm.conf and lvmlocal.conf. It also lists the devices-file tools (lvmdevices, vgimportdevices), metadata backup and restore (vgcfgbackup/vgcfgrestore), and -vvvv debug output.

# pvs -o +pv_uuid,devices
# vgs -o +vg_missing_pv_count
  VG  #PV #LV #SN Attr   VSize  VFree  #PVMissing
  vg0   2   4   0 wz-pn- <1.82t 120.00g          1
# lvs -a -o +devices,lv_health_status
# lvmdevices                    # devices file in use? which PVs are listed
# vgchange -ay vg0

Symptom table

SymptomLikely causeAction
VG not found after moving disks or cloning a VMDevices file does not list the new PVvgimportdevices vg0 or lvmdevices --adddev /dev/sdX
Couldn't find device with uuidPV missing (disk failed or not attached)Reattach; vgreduce --removemissing only if the data is gone
WARNING: Not using device ... duplicate PVMultipath members or cloned disks seen twiceFilter to multipath devices; change the clone's UUIDs (vgimportclone)
LV inactive after bootVG not activated (initramfs or filter)vgchange -ay, rebuild the initramfs
Insufficient free spaceVG fullvgextend, or shrink another LV
Metadata damagedInterrupted change, disk errorvgcfgrestore -l vg0 to list backups, then restore

Metadata backups

LVM writes metadata backups and archives under /etc/lvm/. Before a risky change, run vgcfgbackup and keep a copy off the system. vgcfgrestore restores the metadata only, not the data.

Debug

Add -vvvv to any LVM command to see device scanning and filtering decisions. That is the quickest way to learn why a disk is ignored.

Illustrative example (not a system capture).

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

Method

SymptomCheck / fix
VG or LV missing after bootpvscan --cache, vgchange -ay, missing PV (pvs shows [unknown])
Couldn't find device with uuidDisk missing or renamed; vgchange -ay --activationmode partial only to rescue data
Thin pool 100 %lvextend -L +X vg/pool0, lvextend --poolmetadatasize +1G for metadata
Duplicate PV warningsSame LUN seen via several paths — set filter/use multipath devices
Metadata damagedvgcfgrestore -l vg to list backups, then restore
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.
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 docLogical Volume Management storage current

Authoritative/upstream documentation reviewed for bounded claims in Logical Volume Management → 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/index · confidence 94%
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 troubleshootinglvm problemslvm recovery
Embedded reference data

Quick lookup tables

Logical Volume Management → LVM Troubleshooting LVM map

Fast identity, allocation, capacity and proof boundaries for Logical Volume Management → LVM Troubleshooting.

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 boundaryThe first failed LVM boundary narrows ownership; evidence at one layer does not prove adjacent layers or data integrity. Destructive metadata recreation, forced activation, repair or shrink must wait until identities, lower paths and recovery options are understood.Correlate LVM evidence with both consumer and lower block path before recovery
AcceptanceHealthy evidence: expected PV/VG/LV identities and mappings are complete, target devices activate correctly, lower paths are stable, thin pools have headroom and the original upper-layer workload plus read-back succeeds.Close only after the original workload and independent read-back/consistency check succeeds
Confirmation

Confirm action

Continue?