|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] how to copy a guest
Am 16.02.10 19:58, schrieb jpp@xxxxxxxxxxxxxxxxxx:
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
If you use dd (or better lvm snapshot) to get a copy from a running
domU, use "xm pause" or "xm save" to copy the memory too.
Best Regards
- Michael Schmidt
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|