The command vgimportclone fails with error: "Failed to find physical volume"
Issue
- After performing a low level copy of the device used as PV for a VG, using the script
vgimportclone -nto import the cloned device fails with errors like the following:
# vgimportclone -i -n cloned_vg /dev/<PV_1>
Found duplicate PV <PV_UUID>: using /dev/<PV_2> not /dev/<PV_1>
Failed to find physical volume "/dev/<PV_1>"
Fatal: /dev/<PV_1> could not be verified to be a PV without errors., error: 5
Environment
- Red Hat Enterprise Linux 6.6
- lvm2 prior to 2.02.118-2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
