|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] cloning guests between Dom0's ?
Hi Arnar
Of course its possible, and there are several options.
So your guest is on a partition. A physical partition or a LVM LV?
For a LVM LV you can do the following (using the LVM snapshot) without shutting down the domU:
lvcreate -s /dev/vg/domU -L1G -n domU_snap
mkdir /mnt/domU_snap
mount /dev/vg/domU_snap /mnt/domU_snap
tar cvjpf /storage/path/domU_snapshot.tbz /mnt/domU_snap
lvremove /dev/vg/domU_snap
For a physical partition, you should shutdown the domU first (probably pausing is also ok).
In this case, you can use the dd command for the backup (check the archives).
virt-clone is also an option.
Cheers,
N.
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Arnar Þórarinsson
Sent: Sun 22-Mar-09 12:29 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] cloning guests between Dom0's ?
Hi,
Just setup a guest on a Dom0 (CentoOS 5.2) and would now like to clone or
copy that host to another Dom0 (CentOS 5.2).
Is that possible ?
Guest uses a partition so I can't copy the image file over.
The only thing I've found is about migrating a guest between Dom's.
Best Regards,
/Arnar Thorarinsson
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|