vgimportclone fails with /dev/mapper/mpath30p1 is not in a VG

Solution Verified - Updated -

Issue

  • vgimportclone fails with "/dev/mapper/mpath30p1 is not in a VG", where /dev/mapper/mpath30p1 is a cloned PV of a VG (for example, "vgimportclone --basevgname BackupApp /dev/mapper/mpath31p1")
  • pvs fails to display vgname when given duplicate PV (for example, "pvs -o vg_name /dev/mapper/mpath30p1" shows a blank vg_name, where /dev/mapper/mpath30p1 is a duplicate PV)

Environment

  • Red Hat Enterprise Linux 5.6 (lvm2-2.02.74.el5_6.1)   
    • 5.5 (lvm2-2.02.56-8.el5) does not exhibit this problem
  • Red Hat Enterprise Linux 6.1 (lvm2-2.02.83-3.el6)   
    • 6.0 (lvm2-2.02.72-8.el6) does not exhibit this problem

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