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 676753 - block io error happens when install guest on qcow2 file with 3T size and 512 cluster
Summary: block io error happens when install guest on qcow2 file with 3T size and 512 ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 740455 (view as bug list)
Depends On:
Blocks: 580953
TreeView+ depends on / blocked
 
Reported: 2011-02-11 03:06 UTC by Shirley Zhou
Modified: 2015-03-05 00:52 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
When working with very large images (larger than 2TB) created with very small cluster sizes (for example, 512bytes), block I/O errors can occur due to timeouts in qemu. To prevent this problem from occurring, use the default cluster size of 64KiB or larger.
Clone Of:
Environment:
Last Closed: 2013-02-27 13:52:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
guest screen shot when error happens (12.68 KB, image/png)
2011-02-11 03:07 UTC, Shirley Zhou
no flags Details

Description Shirley Zhou 2011-02-11 03:06:31 UTC
Description of problem:
Install guest on qcow2 file (3TB size, 512 cluster size), guest become pause because of "Unknown error 1535106048" when installing.

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

How reproducible:
2/2

Steps to Reproduce:
1.create big qcow2 image (3T) with small cluster size(512)
# qemu-img create -f qcow2 /dev/vgtest/big 3T -o cluster_size=512
Formatting '/dev/vgtest/big', fmt=qcow2 size=3298534883328 encryption=off cluster_size=512 
2.install RHEL6.1 guest on new create big image
/usr/libexec/qemu-kvm  -enable-kvm  -m 4G -smp 2,sockets=2,cores=1,threads=1 -name qcow2 -uuid bb340905-50b0-de70-921b-5c360a945678 -monitor stdio -rtc base=localtime -boot nc -drive file=/dev/vgtest/big,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:04:ad:a1,bus=pci.0,addr=0x7 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0  -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -vga qxl -spice port=5910,disable-ticketing

  
Actual results:
loop of "block I/O error in device 'drive-ide0-0-0': Unknown error 1535106048 (1535106048)" error happens during installing, and guest become paused, please see attached screen shot when guest become paused.

Expected results:
guest finish installation, and boot ok.

Additional info:

Comment 1 Shirley Zhou 2011-02-11 03:07:58 UTC
Created attachment 478171 [details]
guest screen shot when error happens

Comment 3 Min Deng 2011-03-30 02:53:20 UTC
Guest : RHEL4.9 64bits 
Build :http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/
Host:
Intel
qemu version,
qemu-kvm-tools-0.12.1.2-2.152.el6.x86_64
qemu-img-0.12.1.2-2.152.el6.x86_64
qemu-kvm-0.12.1.2-2.152.el6.x86_64
qemu-kvm-debuginfo-0.12.1.2-2.152.el6.x86_64
kernel version,
2.6.32-125.el6.x86_64
1.create image on OS via -
qemu-img create -f raw big.raw 2T
2.Boot guest on Host with the command
/usr/libexec/qemu-kvm -enable-kvm -m 6144 -smp 4 -uuid 5c45bd4f-00ab-44ea-87b2-399b6061c6f7 -boot dc -drive file=/home/big.raw,if=none,id=drive-virtio-0-0,format=raw,cache=none -device virtio-blk-pci,drive=drive-virtio-0-0,id=virt0-0-0 -netdev tap,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:40:81:11:53 -usb -device usb-tablet,id=input1 -spice port=8002,disable-ticketing -monitor stdio -balloon virtio -drive file=/root/virtio-win_mike.vfd,if=none,id=f1,format=raw,cache=none -global isa-fdc.driveA=f1 -qmp tcp:0:4444,server,nowait -kernel /root/vmlinuz -initrd /root/initrd.img -append method=http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/tree/
3.after finishing installation,boot guest again
Notice please remove '-kernel /root/vmlinuz -initrd /root/initrd.img -append method=http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/tree/' from the command
Expected results,The guest can be restarted successfully 
Actual   results,
System hangs badly,info is fallowing as below -
Booting from DVD/CD
Boot failed:could not read from CDROM
Booting from Hard disk ...

Comment 6 Kevin Wolf 2011-12-07 16:21:47 UTC
*** Bug 740455 has been marked as a duplicate of this bug. ***

Comment 7 RHEL Program Management 2012-07-10 06:40:16 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2012-07-11 01:59:40 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 10 Miroslav Rezanina 2013-02-25 06:54:52 UTC
When using small clusters, writing into image takes too long and cause timeout in guest's block driver. Using bigger sectors prevent this errors.


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