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] how to copy a guest

Le mardi 16 février 2010 à 23:40 +0800, ma qiang a écrit :
> Hi all,
>     I have installed xen on the computer, and adopted LVM as domU's
> storage devices. I have installed a centos for the domU, now I want to
> copy this system as another domU, Who can tell me how?
> 
>     Thanks a lot.
> 
> Best Wishes!

Hello,

Use "dd" for example :
dd if=/dev/mapper/origin of=/dev/mapper/clone bs=65536
You will need afterward to create a new VM definition file and modify
the machine name in /etc/sysconfig/network, /etc/hosts and with
"hostname newname".

Regards

JPPO



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

<Prev in Thread] Current Thread [Next in Thread>