[linux-lvm] LV, VG, and PV information not available after vgcfgrestore

Smith, Troy (NIH/NCI) [C] trsmith at mail.nih.gov
Mon Dec 17 15:42:42 UTC 2007

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.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20071217/8346f8d1/attachment.htm>

More information about the linux-lvm mailing list