vgrename fails with message /dev/testvg already exists in filesystem

Solution Unverified - Updated -

Issue

  • Keep getting error listed below every time I try to rename the volume group..

    /dev/testvg: already exists in filesystem
    New volume group name "testvg" is invalid
    
  • This volume group does not exist. If I attempt to deactivate or export the vg, I get "Volume group "testvg" not found". /dev/mapper lists a directory for this volume group.

Environment

  • Red Hat Enterprise Linux 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.