Hide Forgot
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.
this issue is nfs only, if set timeo=10 or 60 int step 1, guest works normally.
according to comment2,since timeout=1 is too short,lead to qemu shows i/o error, it works as design, close this bug.