From mboxrd@z Thu Jan 1 00:00:00 1970 From: "kevin.zhang@octlink.com" Subject: Re: Live Snapshot problem: Xen 4.4+ with qcow2 disk Date: Fri, 18 Jul 2014 23:05:44 +0800 Message-ID: <20140718230544572407117@octlink.com> References: <398fa5bc.15f8b.14749fb03bf.Coremail.zhangpei210@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6415864169577343371==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Campbell Cc: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============6415864169577343371== Content-Type: multipart/alternative; boundary="----=_001_NextPart376046421745_=----" This is a multi-part message in MIME format. ------=_001_NextPart376046421745_=---- Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 DQpIaSBDYW1wYmVsbCwNCg0KU29ycnkgZm9yIHRoZSB3cm9uZyBmb3JtYXQsIA0KVGhlbiwgcGFz dGUgaW50byBub24tY29sb3JmdWwgcGxhaW4gdGV4dC4NCg0KSGkgYWxsLCBUb2RheSwgSSB0cmll ZCB0byB0ZXN0IHdoZXRoZXIgTGl2ZSBTbmFwc2hvdCBzY2hlbWEgY2FuIGJlIGFkb3B0ZWQgdG8g cWVtdS14ZW4gd2l0aCBxY293MiBkaXNrIGltYWdlIGFzIHdoYXQgd2UgZG8gd2l0aCBxZW11LXhl bi10cmFkaXRpb25hbCB1c2luZyB2aGQgZGlzayBpbWFnZS4gDQpNeSBsaXZlIHNuYXBzaG90IHBy b2NlZHVyZSBpcyBhcyBmb2xsb3c6DQogKCBteSB2bTEgaXMgY3VycmVudGx5IHJ1bm5pbmcgd2l0 aCBxY293MiBkaXNrIGZpbGUgMS5xY293MiApIA0KMS4geGwgcGF1c2Ugdm0xIA0KMi4gbXYgMS5x Y293MiBzbmFwLnFjb3cyIA0KMy4gcWVtdS1pbWcgY3JlYXRlIC1iIHNuYXAucWNvdzIgLWYgcWNv dzIgMS5xY293MiANCjQuIHhsIHVucGF1c2Ugdm0xIA0KSG93ZXZlciwgYXMgSSB1bnBhdXNlZCB2 bTEsIHRoZSB3cml0ZSBvcGVyYXRpb24gc3RpbGwgd2VudCB0byBzbmFwLnFjb3cyIGluc3RlYWQg b2YgdGhlIG5ld2x5IGNyZWF0ZWQgc25hcHNob3QgZmlsZSAxLnFjb3cyLg0KSSByZW1lbWJlciB0 aGF0IHhlbiA0LjAgYWxzbyBoYWQgc2ltaWxhciBwcm9ibGVtIGlmIHdlIGRpZCB2aGQgbGl2ZSBz bmFwc2hvdCwgYW5kIHRoZSBwcm9ibGVtIHdhcyBmaXhlZCBpbiB4ZW4gNC4xLiANCk15IHF1ZXN0 aW9uIGlzIDogDQp3aGV0aGVyIHRoZSBmYWlsdXJlIG9mIG1ha2luZyBsaXZlIHFjb3cyIHNuYXBz aG90IGlzIGEga25vd24gYnVnLCBvciB3aGV0aGVyIEkndmUgbWlzc2VkIHNvbWUga2V5IG9wZXJh dGlvbnMgdG8gbWFrZSBpdCB3b3JrLiA= ------=_001_NextPart376046421745_=---- Content-Type: text/html; charset="GB2312" Content-Transfer-Encoding: quoted-printable
 
Hi Campbell,
 
Sorry for the wrong format,
Then, paste into non-colorful plain text.
 
Hi all, Today, I tried to test whether Live Snapshot schema can be ad= opted=20 to qemu-xen with qcow2 disk image as what we do with qemu-xen-traditional = using=20 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.qc= ow2=20 instead of the newly created snapshot file 1.qcow2.
I remember that xen 4.0 also had similar problem if we did vhd live=20 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=20 whether I've missed some key operations to make it work.=20




------=_001_NextPart376046421745_=------ --===============6415864169577343371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6415864169577343371==--