Hey guys we use LVM pretty heavily and the latest version available is causing us some headaches.
We use vgimportclone to utilize hardware based snapshots from our storage array.
On the latest version which is lvm2-2.02.185-2.el7.x86_64 we see the following when trying to use vgimportclone and rename the volume group.
[root@787nimtest_nas mapper]# vgimportclone -n SNAP /dev/Data/vm-110-disk-1
Failed to find device for physical volume "/dev/Data/vm-110-disk-1".
Failed to find all devices.
If we are on this version lvm2-2.02.180-10.el7_6.7.x86_64 then we have no issues and the vgimportclone command works as expected.
Figured this was the best place to start for getting some help on the issue.
Issues with latest LVM2 package
Re: Issues with latest LVM2 package
I figured it out. Its fallout from this
https://bugzilla.redhat.com/show_bug.cgi?id=1674563
Sure enough, changing scan_lvs = 1 got us back to how things use to function!
https://bugzilla.redhat.com/show_bug.cgi?id=1674563
Sure enough, changing scan_lvs = 1 got us back to how things use to function!