Comment 0 for bug 404394

Revision history for this message
nentis (krisa-opensourcery) wrote : qcow2 corruption regression

Binary package hint: kvm

Since the latest update to 1:84+dfsg-0ubuntu12, any existing or new kvm host using a qcow2 file encounters disk errors and eventual lockup inside the guest.

The errors inside the guest (root is /dev/vda1, other filesystems are lvm on top of /dev/vda2). This can happen at bootup if there is enough IO, or boot just fine and occur when IO picks up.
----
REISERFS: abort (device dm3): Journal write error in flush_commit_list
REISERFS: Aborting journal for filesystem on dm-3
request_module: runaway loop modprobe binfmt-0000
Buffer I/O error on device dm-3, logical block 1063056
Buffer I/O error on device dm-3, logical block 1063072
... ad infinitum
----

Converting the qcow2 to a raw and back to qcow2 does not work, nor does using the newer version of qemu-img (v0.10.0) from the 'qemu' package to convert the raw to qcow2. Problems occur on 9.04 and 8.04 - both are x86_64 and have all the latest updates applied.

KVM Host:
Linux ronto 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64 GNU/Linux

KVM Guests:
Linux halfrun 2.6.24-24-server #1 SMP Tue Jun 30 20:24:57 UTC 2009 x86_64 GNU/Linux
Linux zack 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64 GNU/Linux

LVM setup:
 * /kvm is an LV on the Host where the guest qcow2 files are stored
 * Each qcow2 file has two partitions, vda1 (root) and vda2 (a PV for LVs inside the Guests of which var/tmp/swap are LVs)