Skip to contentSkip to conversation

Live Snapshot problem: Xen 4.4+ with qcow2 disk

DISCUSSION [email protected] 2 participants 2 messages Jul 18, 2014

lore
Share & tools
lore
#0 lore raw

Hi all,

Today, I tried to test whether Live Snapshot schema can be adopted to qemu-xen with qcow2 disk image as
what we do with qemu-xen-traditional using vhd disk image.
My live snapshot procedure is as follow:
( my vm1 is currently running with qcow2 disk file 1.qcow2 )
1. xl pause vm1
2. mv 1.qcow2 snap.qcow2
3. qemu-img create -b snap.qcow2 -f qcow2 1.qcow2
4. xl unpause vm1

However, as I unpaused vm1, the write operation still went to snap.qcow2 instead of the newly created snapshot file 1.qcow2.
I remember that xen 4.0 also had similar problem if we did vhd live snapshot, and the problem was fixed in xen 4.1.
My question is : whether the failure of making live qcow2 snapshot is a known bug, or whether I've missed some key operations to make it work.

Best Regards

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · On Fri, 2014-07-18 at 18:26 +0800, [email protected] wrote:

Hi all,

Please don't post colourful HTML emails to xen-devel, stick to plain text.

Ian.