Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 812833

Summary: qcow2 converting error when -o cluster_size <= 2048
Product: Red Hat Enterprise Linux 6 Reporter: Xiaoqing Wei <xwei>
Component: qemu-kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, areis, bsarathy, dyasny, flang, juzhang, kwolf, michen, minovotn, mkenneth, shuang, sluo, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.280.el6 Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 11:46:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiaoqing Wei 2012-04-16 11:36:22 UTC
Description of problem:

qcow2 converting error when -o cluster_size <= 2048

Version-Release number of selected component (if applicable):
qemu-img-0.12.1.2-2.275.el6.x86_64
qemu-kvm-0.12.1.2-2.275.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. # qemu-img convert -f qcow2 -O qcow2 /mnt/linux/RHEL-Server-6.2-32-virtio.qcow2   /home/kvm_autotest_root/images/RHEL-Server-6.2-32-virtio.qcow2 -o cluster_size=2048 -p
qemu-img: error while writing sector 47898624: Unknown error 1610389504

2.
3.
  
Actual results:
qemu-img: error while writing sector 47898624: Unknown error 1610389504

Expected results:
 works well like converting with "-o cluster_size=4096"

 


Additional info:

Comment 2 Ademar Reis 2012-04-16 15:25:50 UTC
Please run the same test on RHEL6.2 to figure out if this is a regression.

Comment 3 Xiaoqing Wei 2012-04-17 01:57:29 UTC
(In reply to comment #2)
> Please run the same test on RHEL6.2 to figure out if this is a regression.

nope, RHEL6.2 GA still fails, but unlike 6.3, it didn't mention at which sector.
# qemu-img convert -f qcow2 -O qcow2 /mnt/linux/RHEL-Server-6.2-32-virtio.qcow2   /home/kvm_autotest_root/images/RHEL-Server-6.2-32-virtio.qcow2 -o cluster_size=2048 -p
qemu-img: error while writing

qemu-img-0.12.1.2-2.209.el6.x86_64

Comment 8 langfang 2012-04-25 04:51:31 UTC
reporduce this issue with steps and  environment as follows:
#uname -r 
2.6.32-262.el6.x86_64
#rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.278.el6.x86_64
steps:
1)qemu-img convert -f qcow2 -O qcow2 tracing-run-rhel6.3-copy1.qcow2 tracing-run-rhel6.3-copy2.qcow2 -o cluster_size=2048 -p

results:
qemu-img: error while writing sector 28430336: Unknown error 1610174464

verify this issue with steps and  environment as follows:

#uname -r 
2.6.32-262.el6.x86_64
#rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.282.el6.x86_64
steps:
1)# qemu-img convert -f qcow2 -O qcow2 tracing-run-rhel6.3-copy1.qcow2 tracing-run-rhel6.3-copy2.qcow2 -o cluster_size=2048 -p
    (100.00/100%)

according to above test results ,this issue has been fixed.

Comment 10 Michal Novotny 2012-05-04 13:30:14 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation Needed

Comment 11 errata-xmlrpc 2012-06-20 11:46:45 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-2012-0746.html