I have done this many times.

Unmount any file systems that are part of the volume group
Deactive the volume group with vgchange ?a n <volume group>
Detach DASD from guest

On the other guest, attach the DASD
Issue a vgscan to make sure it finds the volume group
Activate the volume group with vgchange ?a y <volume group>
Remount whatever file systems you need

This should work fine as long as the volume groups are unique between the 
guests. I hope this helps.

Peter



"Ifurung, [EMAIL PROTECTED]" <[EMAIL PROTECTED]> 
Sent by: Linux on 390 Port <[email protected]>
07/22/2005 04:55 PM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
Moving an LVM






How do I move an existing LVM from one guest to another guest without
loosing any data?

In GUEST1, I'd like to unmount the filesystem, de-activate the LVM and CP
detach mdisks. And in GUEST2, I'd like to CP LINK the mdisks, activate the
LVM, and mount the filesystem.

Is this possible?

Thanks,

Ismael



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


This Email message and any attachment may contain information that is
proprietary, legally privileged, confidential and/or subject to copyright
belonging to Pepco Holdings, Inc. or its affiliates ("PHI").  This Email is
intended solely for the use of the person(s) to which it is addressed.  If
you are not an intended recipient, or the employee or agent responsible for
delivery of this Email to the intended recipient(s), you are hereby notified
that any dissemination, distribution or copying of this Email is strictly
prohibited.  If you have received this message in error, please immediately
notify the sender and permanently delete this Email and any copies.  PHI
policies expressly prohibit employees from making defamatory or offensive
statements and infringing any copyright or any other legal right by Email
communication.  PHI will not accept any liability in respect of such
communications.

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