Bug 602363 - qcow2 corruption bug in refcount table growth
Summary: qcow2 corruption bug in refcount table growth
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 598488
Blocks: 556823
TreeView+ depends on / blocked
 
Reported: 2010-06-09 17:12 UTC by RHEL Program Management
Modified: 2013-01-09 22:42 UTC (History)
9 users (show)

Fixed In Version: kvm-83-164.el5_5.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-22 14:40:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0479 0 normal SHIPPED_LIVE kvm bug fix update 2010-06-22 14:40:04 UTC

Description RHEL Program Management 2010-06-09 17:12:58 UTC
This bug has been copied from bug #598488 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 5 Qunfang Zhang 2010-06-11 03:22:19 UTC
Reproduced on kvm-83-164.el5_5.10, and verified pass on kvm-83-164.el5_5.11.

Steps:
1.Create a disk on *RHEL6* host
#qemu-img create -f qcow2 -ocluster_size=512 test.qcow2 1G
2.Copy this disk to RHEL5 host
#/usr/libexec/qemu-kvm test.qcow2 -monitor stdio -vnc :10
(qemu)savevm aaa
(qemu)savevm bbb
(qemu)info snapshots
(qemu)quit
3.#qemu-img check test.qcow2


On kvm-83-164.el5_5.10:
[root@dhcp-91-161 home]# qemu-img check test2.qcow2 
ERROR cluster 134400 refcount=0 reference=1
ERROR cluster 134467 refcount=2 reference=1
ERROR cluster 134468 refcount=2 reference=1
ERROR cluster 134656 refcount=0 reference=1
ERROR cluster 134723 refcount=2 reference=1
ERROR cluster 134724 refcount=2 reference=1
ERROR cluster 134725 refcount=2 reference=1
ERROR cluster 135936 refcount=0 reference=1
ERROR cluster 136072 refcount=2 reference=1
ERROR cluster 136073 refcount=2 reference=1
ERROR cluster 136192 refcount=0 reference=1
ERROR cluster 136328 refcount=2 reference=1
ERROR cluster 136329 refcount=2 reference=1
ERROR cluster 136330 refcount=2 reference=1
14 errors were found on the image.

On kvm-83-164.el5_5.11:
[root@dhcp-91-161 home]# qemu-img check testing.qcow2 
No errors were found on the image.

Comment 8 errata-xmlrpc 2010-06-22 14:40:13 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0479.html


Note You need to log in before you can comment on or make changes to this bug.