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 769507

Summary: guest stop(i/o error) when stop/cont guest many times
Product: Red Hat Enterprise Linux 6 Reporter: FuXiangChun <xfu>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, bcao, bsarathy, juzhang, michen, mkenneth, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-21 07:42:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description FuXiangChun 2011-12-21 05:26:51 UTC
Description of problem:
create image in NFS, boot guest with nfs image attached as second disk. stop/cont guest many times during copy big file to second disk, the second disk shows i/o error and guest stop. if create image on lvm and local file then guest work fine, it doesn't work in NFS.  I tested only win2008r2 and rhel4.9 guest.


Version-Release number of selected component (if applicable):
# rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.212.el6.x86_64
# uname -r
2.6.32-220.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.mount -o soft,timeo=1 ip:/home /mnt

2./usr/libexec/qemu-kvm -M rhel6.2.0 -enable-kvm -m 4G -smp 2,sockets=2,cores=1,threads=1 -name windows2008 -uuid 745fe449-aac8-29f1-0c2d-5042a707263b -boot dc -drive file=/mnt/win2008r2-sp1.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads,werror=stop,rerror=stop -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/mnt/second-disk-3.qcow2,if=none,id=drive,format=qcow2,cache=none,aio=threads,werror=stop,rerror=stop -device ide-drive,drive=drive,id=ide0-0-1 -netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup -device rtl8139,netdev=hostnet1,mac=00:24:21:7F:B6:02,bus=pci.0,id=virtio-net-pci1 -monitor stdio  -spice disable-ticketing,port=5912

3.copy big file to second disk

4.stop/cont guest
  
Actual results:
stopblock I/O error in device 'drive-virtio-disk2': Input/output error (5)
block I/O error in device 'drive-virtio-disk2': Input/output error (5)
handle_dev_input: stop
(qemu) info status
VM status: paused

Expected results:
guest work well

Additional info:
virtio and ide disk have the same issue, stop/cont about 40 times.

Comment 2 FuXiangChun 2011-12-21 07:22:55 UTC
this issue is nfs only, if set timeo=10 or 60 int step 1, guest works normally.

Comment 3 FuXiangChun 2011-12-21 07:42:17 UTC
according to comment2,since timeout=1 is too short,lead to qemu shows i/o error, it works as design, close this bug.