Hide Forgot
Created attachment 492033 [details] bonnie debug info Description of problem: run bonnie test in guest and run dd on host to make host space 100% used, then delete file on host to release space. bonnie test failed with disk full error although there is space in guest and host. Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.156.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. cmd /usr/libexec/qemu-kvm -monitor stdio -drive file='/root/rhel6-64-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -device virtio-net-pci,netdev=idf6hhrW,mac=9a:9c:ec:0b:30:39,id=ndev00idf6hhrW,bus=pci.0,addr=0x3 -netdev tap,id=idf6hhrW,vhost=on,script='/home/scripts/qemu-ifup-switch',downscript='no' -m 12G -smp 24,cores=1,threads=1,sockets=24 -cpu Opteron_G3 -vnc :0 -rtc base=utc,clock=host,driftfix=none -M rhel6.1.0 -boot order=cdn,once=c,menu=off -usbdevice tablet -no-kvm-pit-reinjection -enable-kvm 2. run bonnie test in guest http://qe-git.englab.nay.redhat.com/?p=autotest/.git;a=blob;f=client/tests/kvm/autotest_control/bonnie.control;h=2717a8040a62e5350d6dc7a16750b41f6eeececc;hb=19c75ea1b3ae41e48a9dd0adbc7d71c21b2704e9 3. run dd on host to make host space 100% used (guest stop with warning "block I/O error in device 'drive-virtio-disk1': No space left on device (28)") 4. delete file on host to release space 5. input qemu cmd "c" to continue guest Actual results: test failed with "Writing with putc()...Can't putc() - disk full?" Expected results: Additional info: 1. host (504G mem & 48 cpu) kernel: 2.6.32-130.el6.x86_64 cpuinfo: processor : 47 vendor_id : AuthenticAMD cpu family : 16 model : 9 model name : AMD Opteron(tm) Processor 6172 stepping : 1 cpu MHz : 2100.131 cache size : 512 KB physical id : 1 siblings : 12 core id : 5 cpu cores : 12 apicid : 27 initial apicid : 27 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr npt lbrv svm_lock nrip_save bogomips : 4200.06 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate 2. guest rhel6-64 3. disk info 1). host: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_amd61725122-lv_root 51606140 38952812 10031888 80% / tmpfs 264714932 0 264714932 0% /dev/shm /dev/sda1 495844 31572 438672 7% /boot /dev/mapper/vg_amd61725122-lv_home 21307260 10615960 9608932 53% /home 2). guest: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup-lv_root 10067112 2189004 7366724 23% / tmpfs 6163712 0 6163712 0% /dev/shm /dev/vda1 495844 52168 418076 12% /boot 4. bonnie debug info (attached)
You should use the werror option if you like the VM to stop on disk space issues.
(In reply to comment #2) > You should use the werror option if you like the VM to stop on disk space > issues. can reproduce while add werror=stop The expected result is, can run bonnie test successfully after I clean host space
Moving to NEW, bugs assigned to virt-maint shouldn't be on ASSIGNED.
Does the guest kernel log show any error?
try several times, not reproduce , will test on the host in comment0
(In reply to comment #7) > try several times, not reproduce , will test on the host in comment0 could not reproduce with qemu-kvm-0.12.1.2-2.176.el6.x86_64 after 2 attempts. guest would paused if host space 100% occupied . release some space on host and press "c" in monitor , guest continue run. Best Regards, Xiaoqing.