Using vgrename on VG containing root LV fails with "Volume group RootVG still has active LVs"

Solution Verified - Updated -

Issue

  • Attempting to vgrename the volume group containing root fails with "Volume group XXX still has active LVs"
  • How to rename root VG.
  • After cloning VMware OS guest server2 from server1; it shows: Found volume group "vg_server1" using metadata type lvm2.
    It should be saying "vg_server2"

Environment

  • Red Hat Enterprise Linux
  • Active root logical volume group

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.