RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 996151 - qcow2 corruption bug in cluster allocation code
Summary: qcow2 corruption bug in cluster allocation code
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 901573 (view as bug list)
Depends On: 974617
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-12 14:11 UTC by Idith Tal-Kohen
Modified: 2018-12-05 16:14 UTC (History)
19 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.355.el6_4.7
Doc Type: Bug Fix
Doc Text:
* Previously, a counter variable was not correctly reset when restarting an allocating request for disk images using the qcow2 format, which resulted in corruption of these disk images in the cluster allocation code in some cases. This update changes the way that the number of available clusters are counted in the qcow2 format, and qcow2 disks are no longer corrupted in the described scenario.
Clone Of:
Environment:
Last Closed: 2013-08-27 08:04:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Reproduction - failed log (35.69 KB, text/plain)
2013-08-15 09:14 UTC, Qunfang Zhang
no flags Details
Verification - passed log (175.59 KB, text/plain)
2013-08-15 09:17 UTC, Qunfang Zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 535363 0 None None None 2018-11-30 20:11:38 UTC
Red Hat Product Errata RHBA-2013:1175 0 normal SHIPPED_LIVE qemu-kvm bug fix update 2013-08-27 12:03:05 UTC

Description Idith Tal-Kohen 2013-08-12 14:11:56 UTC
This bug has been copied from bug #974617 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 6 Qunfang Zhang 2013-08-15 09:13:58 UTC
Reproduced this issue on qemu-kvm-0.12.1.2-2.355.el6 at the first time attempt. Verified the bug with qemu-kvm-0.12.1.2-2.355.el6_4.7 for twice, all passed.

Steps:

0. Make sure host has 100GB+ free disk. 
1. Download 
http://people.canonical.com/~arges/lp1189926/lnv-382.tgz
2. Uncompress the lnv-382.tgz
3. ./create-disk
4. Modified "test-kvm" and replace command "kvm" to "/usr/libexec/qemu-kvm".
5. ./test-kvm


I will upload the attachment for detail logs for both reproduction (failed) and verification (passed) cases.

Comment 7 Qunfang Zhang 2013-08-15 09:14:58 UTC
Created attachment 786872 [details]
Reproduction - failed log

Comment 8 Qunfang Zhang 2013-08-15 09:17:08 UTC
Created attachment 786873 [details]
Verification - passed log

Comment 11 errata-xmlrpc 2013-08-27 08:04:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1175.html

Comment 12 Ayal Baron 2014-02-17 23:18:14 UTC
*** Bug 901573 has been marked as a duplicate of this bug. ***


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