qemu corrupts qcow2 image

Bug #352785 reported by Francesco Potortì
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
Critical
Unassigned
Nominated for Jaunty by Rune Christensen

Bug Description

Binary package hint: qemu

Qemu 0.10.0 occasionally corrupts qcow2 images. The problem should be solved in 0.10.2.

This is how I observed it the first time:

$ qemu-img convert -c -O qcow2 wxpsp3-wlm-noacpi.qcow wxpsp3-wlm-noacpi.copia.qcow
qemu-img: error while reading

$ qemu-img info wxpsp3-wlm-noacpi.qcow
image: wxpsp3-wlm-noacpi.qcow
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 5.5G
cluster_size: 4096
highest_alloc: 5891559424
num_free_bytes: 3783917568

Revision history for this message
Francesco Potortì (pot) wrote :

It turns out that the image was really corrupted, in fact qemu cannot use it (it says unbootable disk).
It was qemu itself that corrupted it, but I fear this is another problem, and I can not reproduce nor diagnose it.

So I think this bug should be closed, unless someone wants to see the corrupted image.

Revision history for this message
Francesco Potortì (pot) wrote :

I read that qemu 0.10.2 includes corrections that solve qcow2 images corruption problems.
So I suspect that this bug is related to qcow2 corruption. In fact, since reporting I had two more instances of qcow2 corruption, which I recovered only by restoring a backup.

Please package 0.10.2, I think this bug should be given the highest severity for a package.

Revision history for this message
Francesco Potortì (pot) wrote :

I observed qcow2 corruption three times in total. Moreover qcw2 corruption is cited in qemu 0.10.2 changelog.

Changed in qemu (Ubuntu):
status: New → Confirmed
Changed in qemu (Ubuntu):
importance: Undecided → Critical
Francesco Potortì (pot)
description: updated
summary: - qemu-img convert: error while reading
+ qemu corrupts qcow2 image
Revision history for this message
sciencewhiz (christmasboy-81) wrote :

qemu 0.10.4 is out, and also has a fix for qcow2 corruption

 - fix qcow2 corruption in cluster freeing (Gleb Natapov)

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This is fixed in karmic's qemu-kvm.

:-Dustin

Changed in qemu (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.