Unmount the filesystem, and run "vgexport" for the volume group.  Then take the 
volume offline via sysfs, and detach it from the guest (This assumes you're on 
the 2.6 kernel.  With 2.4 it's a little more complicated).

Repeat the process in reverse on the other system, doing a vgimport on the 
other side.  I'm reasonably sure I've done this successfully.

It's much easier to set up an NFS share though, and leave the volume attached 
to one guest.

> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Ranga Nathan
> Sent: Wednesday, May 10, 2006 2:52 PM
> To: LINUX-390@VM.MARIST.EDU
> Subject: [LINUX-390] Is it possible to move an LVM from guest 
> to guest?
> 
> 
> I want to set up an LVM that I can move from guest to guest. I have a
> 3390-09 volume that I want to use for this.
> Why? It makes it easy to re-do file systems, at least for now.
> I have LVM running on a couple of guests but I dont know if it is
> possible to move this 'utility' LVM from guest to guest 
> easily *without*
> any outage to  the guests.
> Thanks
> 
> --
> __________________
> Ranga Nathan
> Work: 714-442-7591
> 
> 
> ----------------------------------------------------------------------
> 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
>
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------

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