I think I may have figured out what
I missed. Perhaps I should have executed the following on the new host prior
to the vgcfgrestore? pvcreate --uuid
"0OwDU9-wqnr-ylvu-2V0h-2uSZ-N2Xv-xOZRst" --restorefile
/etc/lvm/archive/vg_00001.vg /dev/sdh Thanks Troy From: Smith, Troy
(NIH/NCI) [C] Hello all. I recently migrated a logical volume from a failing host to
a new host, and although I am able to mount and access the volume, I cannot
view any of the LV information using lvdisplay, vgdisplay, or pvdisplay. The physical volume is SAN mounted. The
/etc/lvm/backup/file was copied from the failing host to the new host, and
using vgcfgrestore and vgchange, the LV’s are now mounted on the new host and
completely accessible. However, when I run any of the display or scan
commands, information regarding these volumes does not appear. I’m
wondering if I missed a step in recovery. Following are the steps I
followed: -on source host, unmounted the file system using the LV in
question -presented LUN the LV is on to the new host, and discovered -coped /etc/lvm/backup/file from source to target -on target host, vgcfgrestore on the copied backup file -on target host, lvscan. The LV was recognized, but
not active. -vgchange to activate the LV -another lvscan showed the LV active -modifed target host:/etc/fstab -mounted the LV on the target host without issue. Is there another step or two (or more) that I should have
executed prior to mounting or even recovering the LV? Any and all assistance is greatly appreciated. Thanks Troy |
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/