Bug 1410964
Summary: | 4K virtual drives broken on Windows | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Angel <apagan> | |
Component: | virtio-win | Assignee: | Vadim Rozenfeld <vrozenfe> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | ailan, apagan, crobinso, ghammer, lijin, michen, virt-maint, vrozenfe, yvugenfi | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Windows | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1411092 (view as bug list) | Environment: | ||
Last Closed: | 2019-03-28 23:56:44 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1411092 |
Description
Angel
2017-01-07 00:22:51 UTC
QE tried on win8-32 and win2012R2 guests,can NOT reproduce this issue on virtio-win-1.9.0-3.el7.noarch(the blk driver is build126),I can format the data disks correctly. Could you try with build126? qemu cli: /usr/libexec/qemu-kvm -name 122BLKWIN2016 -enable-kvm -m 2G -nodefconfig -nodefaults -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=win8-32-iso.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,serial=mike_cao,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -cdrom virtio-win-prewhql-126.iso -monitor stdio -qmp tcp:0:4444,server,nowait -fda virtio-win-prewhql-126.vfd -vnc 0.0.0.0:0 -vga cirrus -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0,queues=4,vhost=on -device virtio-net-pci,vectors=10,netdev=hostnet0,id=net0,mac=00:52:4c:23:8d:66,mq=off,ctrl_vq=on -smp 2 -drive file=disk1.raw,id=blk-drive1,if=none,cache=none,serial=lijin-disk1 -device virtio-blk-pci,id=blk-disk1,drive=blk-drive1,logical_block_size=4096,physical_block_size=4096 -drive file=disk2.raw,id=blk-drive2,if=none,cache=none,serial=lijin-disk2 -device virtio-blk-pci,id=blk-disk2,drive=blk-drive2,logical_block_size=4096,physical_block_size=4096 We currently use virtio-win-0.1.96-1 and know it works with 4K drives. We were considering using build126 when we discovered the problem. Build126 will not work with 4K drives. Angel (In reply to Angel from comment #2) > We currently use virtio-win-0.1.96-1 and know it works with 4K drives. We > were considering using build126 when we discovered the problem. Build126 > will not work with 4K drives. I can reproduce your issue on a *new fresh installed* image,with build126,the disk can NOT format completely. If downgrade the driver to build100,then upgrade to 126 again,the disk can be format successfully,I guess this is the reason why I did not reproduce in comment#1. Thanks Angel. Try on win2012R2 guest with virtio-win-prewhql-130,disks can be formatted correctly with 4k logical_block_size. So this issue has been fixed already |