1753446 Members
5061 Online
108794 Solutions
New Discussion юеВ

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 2
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.