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] Making system templates

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Making system templates
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Mon, 08 Jun 2009 16:42:40 +0200
Delivery-date: Mon, 08 Jun 2009 07:43:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2D2246.2070607@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Hi,

about LVM : one the big advantages of LVM is the resize... "lvresize" on Dom0, then (for ext3/ext4) resize2fs in DomU.

Olivier

Jeff Williams a écrit :
Hi,

I am wanting to set up a bunch of system templates for my Xen servers, to save me from running some standard package installs and configuration. I can see 4 alternatives, but all seem to have issues and I'm wondering what works in practice:

1) LVM snapshot

Problem with this is that I don't see any way to change the disk size of the new disk ever. Fast though.

2) New device and block level copy (dd)

Seems to work fine, but the disk needs to be repartitioned and filesystem resized for bigger disks on the new guest. Takes a while.

3) New device and file level copy (cpio)

Can completely change the partition scheme and filesystem. Complex to do from dom0. Slow.

4) virt-clone?

I couldn't get this to work at all. Either the domU was running and I got "ERROR Domain status must be SHUTOFF" or the domU was shutdown and I got "ERROR Domain test is not found".

Regards,
Jeff

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


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