qcow2 images going corrupt
Hi,
I'm running qemu 0.9.0 on a Linux host.
I'm using a qcow2 image. I run qemu in daemon mode. When I'm to finish my session with the guest, I go to the monitor, do a "savevm whatever", "commit all", "q".
What I see that the image becomes corrupt very often (qemu-img sees it as a raw image). (I do the "commit all" only because I suffer and I don't have any better idea in mind -- I guess it shouldn't have an effect on the correctness of disk handling).
Any idea what's wrong? Or a fault-proof way of leaving qemu?
I can upload an example corrupt image if someone would like to analyze it. 1.6G gzipped.
Csaba
Quoted 8 lines · Csaba Henk
Hi,
I'm running qemu 0.9.0 on a Linux host.
I'm using a qcow2 image. I run qemu in daemon mode. When I'm to finish my session with the guest, I go to the monitor, do a "savevm whatever", "commit all", "q".
Quoted 6 lines
What I see that the image becomes corrupt very often (qemu-img sees it as a raw image). (I do the "commit all" only because I suffer and I don't have any better idea in mind -- I guess it shouldn't have an effect on the correctness of disk handling).
Any idea what's wrong? Or a fault-proof way of leaving qemu?
There was a bug in the qcow2 support which is fixed in CVS. You can use qcow instead, or upgrade to a recent-ish CVS version of qemu.
Thiemo
Quoted 2 lines · Thiemo Seufer
There was a bug in the qcow2 support which is fixed in CVS. You can use qcow instead, or upgrade to a recent-ish CVS version of qemu.
Oh yeah, thanks, I see. I really could as well have looked it up myself...
What I *don't* understand is that why has not the Qemu team made a bugfix release immediately? This is a _serious bug_. It can cause data loss. As it did for me.
Csaba
Maybe release Qemu 0.9.01 with only the qcow2 image fixed
Quoted 15 lines · Csaba Henk
Quoted 2 lines · Thiemo Seufer
There was a bug in the qcow2 support which is fixed in CVS. You can use qcow instead, or upgrade to a recent-ish CVS version of qemu.
Oh yeah, thanks, I see. I really could as well have looked it up myself...
What I *don't* understand is that why has not the Qemu team made a bugfix release immediately? This is a
_seriousbug_. It can cause data loss. As it did for me.Csaba