cancel
Showing results for 
Search instead for 
Did you mean: 

lvm question

navin
Super Advisor

lvm question

Hi,
I'm intended to test vgimport functionality of lvm.For which i ran vgexport command and saved the vgname.mapfile name in a different location.the volume group is vg01. The root disk is still fine. In order for testing vgimport...what steps i have to do ...it could be reinstallation of a root disk ..but is there any other way with out the reinstall.
Thank You
Learning ...
2 REPLIES
Mel Burslan
Honored Contributor

Re: lvm question

If your purpose is to relocate the volumes under vg01 to a different server, all you need to do is to re-zone the SAN volumes (assuming vg01 is on SAN) to the new server, copy the mapfile to the new server and run

vgimport -m mapfilenamehere vg01

________________________________
UNIX because I majored in cryptology...
kevin_m
Valued Contributor

Re: lvm question

You could use the -p (preview) option to verify the map file without actually importing.