RHEL8: Cannot activate LVs in VG <vg_name> while PVs appear on duplicate devices
Issue
- Cannot activate the volume group.
[root@testbox lvm]# vgchange -ay testvg
WARNING: Not using device /dev/sde1 for PV pv_uuid.
WARNING: Not using device /dev/sdf1 for PV pv_uuid.
WARNING: Not using device /dev/sdg1 for PV pv_uuid.
Cannot activate LVs in VG testvg while PVs appear on duplicate devices. <<<<
0 logical volume(s) in volume group "testvg" now active <<<<
-
Why do I get duplicate PV warnings when I run LVM commands?
-
Why we do see
seqnoconflicts Warnings inpvsouptut
WARNING: ignoring metadata seqno X on /dev/sdY for seqno Y on /dev/sdZ for VG VG_NAME.
WARNING: Inconsistent metadata found for VG VG_NAME.
See vgck --updatemetadata to correct inconsistency.
WARNING: VG VG_NAME was previously updated while PV /dev/sdY was missing.
Environment
- Red Hat Enterprise Linux 8
- LVM2
- Multiple paths to storage device(s)
- Disk level snapshots VMware
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.