WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] migrate file-based vm to lvm?

To: <s0nspark@xxxxxxxxx>
Subject: RE: [Xen-users] migrate file-based vm to lvm?
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Wed, 07 Jan 2009 09:48:37 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Jan 2009 08:49:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It should work - all you're doing is changing how the host presents the data to the domU, not how the domU O/S sees the data.  So, you're still going to be making the LVM volume xvda or hda in the guest, which means the guest is still going to see the partitions.  Accessing a partitioned LVM volume on dom0 may be a little tricky, but there shouldn't be any problems inside domUs.

-Nick


-----Original Message-----
From: s0nspark <s0nspark@xxxxxxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] migrate file-based vm to lvm?
Date: Wed, 7 Jan 2009 08:09:07 -0800 (PST)


hmm .. I thought of this but I'm not sure how it would work since each image
file contains 2 partitions, a root partition and a swap partition... I seem
to recall perhaps some mention of kpartx coming into play... but my memory
is foggy on the details...


If I am thinking correct here you could dd it to an lvm partition?

Can anyone confirm? I have yet to try this as I find it easier to manage
corporate vm structure using image files (better across the network).



This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users