Bug 1254927
Summary: | qemu-img shows Input/output error when compressing guest image | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | FuXiangChun <xfu> |
Component: | qemu-kvm-rhev | Assignee: | Hanna Czenczek <hreitz> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | chayang, juzhang, knoel, lmiksik, michen, mrezanin, qiguo, qzhang, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.3.0-23.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-04 16:53:55 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: |
Description
FuXiangChun
2015-08-19 09:13:33 UTC
Can you please grant access to the affected image? (or upload an image we can use to reproduce it). Fixed upstream with 3e5feb6202149e8a963a33b911216e40d790f1d7, we'll see whether a backport for rhev-7.3.0 is needed or whether that commit will be included by rebase. Fixed upstream, patch is simple, impact on customers is real. Fix included in qemu-kvm-rhev-2.3.0-23.el7 Reproduced with qemu-kvm-rhev-2.3.0-15.el7.x86_64/ Steps: # qemu-img info win7-64-sp1-virtio.qcow2 image: win7-64-sp1-virtio.qcow2 file format: qcow2 virtual size: 30G (32212254720 bytes) disk size: 7.8G cluster_size: 65536 Format specific information: compat: 0.10 refcount bits: 16 # qemu-img convert -c -f qcow2 -O qcow2 /home/win7-64-sp1-virtio.qcow2 /home/win7-64-bak-compress.qcow2 qemu-img: error while compressing sector 9418752: Input/output error # qemu-img info win7-64-bak-compress.qcow2 image: win7-64-bak-compress.qcow2 file format: qcow2 virtual size: 30G (32212254720 bytes) disk size: 2.0G cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false So this bug is reproduced. Verify this bug with qemu-kvm-rhev-2.3.0-24.el7.x86_64 Steps as above: # qemu-img convert -c -f qcow2 -O qcow2 /home/win7-64-sp1-virtio.qcow2 /home/win7-64-bak-compress1.qcow2 -p (100.00/100%) # qemu-img info win7-64-bak-compress1.qcow2 image: win7-64-bak-compress1.qcow2 file format: qcow2 virtual size: 30G (32212254720 bytes) disk size: 3.5G cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false No error occurs, so this bug is fixed. 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. https://rhn.redhat.com/errata/RHBA-2015-2546.html |