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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content