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

I suggest the virt-clone method since I use it for cloning windows and linux. It is a perfect tool. I created a template windows and linux setup. First, shut the main copy, after virt-clone, change the temp name and IP and use it.

  • vserver01 template copy to vserver0X example,
  • virt-clone
  • (file path)? /var/lib/xen/images/xserver0X.img
  • the name of the original virtual machine? xserver01
  • the name for the cloned virtual machine? xserver0X
  • Cloning from /var/lib/xen/images/xserver01.img to /var/lib/xen/images/xserver0X.img
  • Change IP address
  • Change name if Windows as xserver0X

Jeff Williams wrote:
On 08/06/09 23:02, Olivier B. wrote:
Javier Guerra a écrit :
On Mon, Jun 8, 2009 at 9:42 AM, Olivier B.<xen.list@xxxxxxxxx> wrote:
about LVM : one the big advantages of LVM is the resize... "lvresize" on
Dom0, then (for ext3/ext4) resize2fs in DomU.

add a partition resize step.  even so, this only works if the
filesystem you want to resize is the last partition in the virtual
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.
So to confirm, rather than making /dev/xenvg/domudisk and doing:

disk = ['phy:/dev/xenvg/domudisk,xvda,w']

and partitioning /dev/xenvg/domudisk in the guest, you'd make (for example):


and configure it like:

disk = [

Is that right? The idea had crossed my mind, but all the tools seemed to want to do it the other way.


Xen-users mailing list

Umut Arus
Sabancı Üniversitesi - Bilgi Teknolojisi
Tel: (+90 216) 483 9172
Xen-users mailing list