[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] cloning guests between Dom0's ?



Ferreira, N.L. wrote:

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

Is this correct ? I know the LVM snapshot will give you a "point in time" image, but won't the DomU have unwritten changes in it's cache - giving you a very unclean filesystem ?


--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.