[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] can I clone a runiung domU?
Jett wrote: Jett wrote:You can make use of the LVM snapshot. Ref:http://momotonic.com/2008/03/23/migrating-lvm-volumes-over-network-using-snapshots/JettHi allI'd like to know if it's possible to clone a running domU. I need to make an exact copy of an existing CentOS xen domU, but without taking it offline. I'm using LVM, so I don't know if it will help.I have tried doing it with dd, after shutting down the domU, but it takes ages. The LVM image is 30GB. I can't really afford to have the running one off line that long, so if possible I'd like todo it while it's running.Hi Jett,I have though of LVM snapshots, but I need to move the LVM image to another server - will this be a problem if I make a snapshot of it?Hi,You may dd the snapshot and copy the image to other server. Use dd to restore the partition after moving.The link I have gave you is exactly for migrating LVM volumes. Hope this help. Nice Day, Jett Once I made a snapshot, should I be able to mount it, or not? Cause it doesn't seem to work then? lvcreate -L30G -s -n pluto_s /dev/data/hfserver2 Logical volume "pluto_s" created [root@HF-LINSRV01 ~]# lvscan ACTIVE '/dev/data/cpanel002' [100.00 GB] inherit ACTIVE '/dev/data/windows2003_web' [30.00 GB] inherit ACTIVE '/dev/data/storage' [50.00 GB] inherit ACTIVE Original '/dev/data/hfserver2' [30.00 GB] inherit ACTIVE '/dev/data/windows2008' [30.00 GB] inherit ACTIVE '/dev/data/hfdns02' [30.00 GB] inherit ACTIVE '/dev/data/pluto' [30.00 GB] inherit ACTIVE Snapshot '/dev/data/pluto_s' [30.00 GB] inherit ACTIVE '/dev/system/root' [39.06 GB] inherit ACTIVE '/dev/system/swap' [9.75 GB] inherit [root@HF-LINSRV01 ~]# mount /dev/data/pluto_s /mnt/pluto_s/ mount: you must specify the filesystem type -- Kind Regards Rudi Ahlers Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |