LVM commands print "WARNING: Duplicate VG name <vgname>" in RHEL

Solution Verified - Updated -

Issue

  • LVM commands report Duplicate VG names
  • When I run vgdisplay command to check for free space, I receive the following message.
# 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  

OR if one of the VGs state is exported, we get

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) 7
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 4
    • lvm2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.