| Summary: | block io error happens when install guest on qcow2 file with 3T size and 512 cluster | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Shirley Zhou <szhou> | ||||
| Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.1 | CC: | amit.shah, areis, juzhang, mdeng, mkenneth, mrezanin, mshao, ndai, virt-maint, wdai | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| 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.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-27 13:52:40 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 580953 | ||||||
| Attachments: |
|
||||||
|
Description
Shirley Zhou
2011-02-11 03:06:31 UTC
Created attachment 478171 [details]
guest screen shot when error happens
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 ... *** Bug 740455 has been marked as a duplicate of this bug. *** 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. 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. When using small clusters, writing into image takes too long and cause timeout in guest's block driver. Using bigger sectors prevent this errors. |