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/
Home Products Support Community News


RE: [Xen-users] Making system templates

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Making system templates
From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Date: Mon, 8 Jun 2009 11:57:38 -0400
Delivery-date: Mon, 08 Jun 2009 08:59:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2D27F8.7060304@xxxxxxxxx>
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>
References: <4A2D2246.2070607@xxxxxxxxxxxxxx> <4A2D2360.3040906@xxxxxxxxx><90eb1dc70906080755i4938490fl65422a0251a2d1cd@xxxxxxxxxxxxxx> <4A2D27F8.7060304@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnoShVIEnTGLmfhRTiSgj8/JdykZgABN1tw
Thread-topic: [Xen-users] Making system templates
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Olivier B.
> Sent: Monday, June 08, 2009 11:02 AM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Making system templates
> I never partition LVM "virtual device", I used different LV. 
> So there is no problem to resize any of this partitions.
> About the additionnal step, I don't really see where it is a problem.

We do the same, to the extent that we've often stripped away partition
tables even when doing a physical->virtual migration.  LVM makes
partition tables seem entirely obsolete for paravirtualized hosts--they
are an artifact of the system BIOS.  (In some cases those partitions
contained their own volume group, so a trival migration results in
logical volumes inside a volume group inside a partion table inside a
logical volume...ewww.)

I'm new to the list, but from what reading I've done I notice there are
two broad methodologies forming around virtual system management:  One
that wants to treat virtual images as identical to physical systems with
disk partitions, native installers, boot loaders, etc. while another,
simpler approach takes fuller advantage of the paravirtualized model and
Dom0 capabilities (LVM etc).  For whatever reason, most of the tools I
find (koan, virt-install) seem to fall into the former group.  We've
fallen back on rolling our own techniques to create and manage DomU

One comment to the original poster-- if your procedure to clone a system
involves copying files rather than filesystem images, you need to
additionally perform a filesystem relabeling in case you need or want


Xen-users mailing list