On Thu, Dec 15, 2005 at 05:07:12PM -0500, Mark Post wrote:
> It should be doable, but going from an LVM-1 system to an LVM-2 system has
> sometimes caused issues for people in the Intel world at least.  Make sure
> you have a good backup.

Good tip.  Although I've done this a few times, it's not (to my memory)
been between LVM-1 and LVM-2.

> A lot of the LVM information is written as metadata on the physical volumes
> (PVs) themselves.

This is true; the rest is configuration information in your filesystem
(usually under /etc/lvm/).  The vgexport/vgimport process takes care of
this for you.  Files under /etc/lvm keep track of which VGs and LVs are
expected to be present when LVM starts -- if you simply remove the
DASDs, you're likely to get errors when you next run a vgscan/vgchange.

vgexport also changes some of the metadata on the volumes so that if
somebody happens to do a vgscan and/or vgchange before you've detached
the DASD, you won't get the VG unexpectedly reappearing on your system.
These changes are undone by the vgimport on the destination system.

Cheers,
Vic Cross

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to