LVM commands print "WARNING: Duplicate VG name <vgname>" in RHEL
Issue
- LVM commands report Duplicate VG names
- When running
vgdisplay
command to check for free space, it shows:
# vgdisplay
WARNING: Duplicate VG name vg01: Existing dKW6b3-COaO-4NXA-IbeP-UWTq-RUW6-AHHTAD (created here) takes precedence over kQH1c3-I0ZR-xUff-a8zP-fXzH-xrqP-MtjYGJ
- After restarting the node, LVM commands show:
Cache: Duplicate VG name vg01: Prefer existing LLzmty-2aHl-Yhxu-Mh3x-Sim7-3cXg-OinYlK vs new Fgzl5z-urug-76S2-QJFe-P7v0-ctnG-2ndyND
- If one of the VGs state is exported, LVM reports:
WARNING: Duplicate VG name vg01: Existing LLzmty-2aHl-Yhxu-Mh3x-Sim7-3cXg-OinYlK takes precedence over exported Fgzl5z-urug-76S2-QJFe-P7v0-ctnG-2ndyND
Environment
- Red Hat Enterprise Linux (RHEL)
lvm2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.