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.
Description of problem:
Cannot enlarge/shrink disk with virtio1.0 device
Guest OS: win2012R2/win10-64/win8-32, other guest should be the same problem.
Version-Release number of selected component (if applicable):
kernel-3.10.0-401.el7.x86_64
qemu-kvm-rhev-2.6.0-1.el7.x86_64
seabios-1.9.1-4.el7.x86_64
virtio-win10-prewhql-1-13
How reproducible:
100%
Steps to Reproduce:
1. boot with command line
/usr/libexec/qemu-kvm -M pc -name win2012R2 -enable-kvm -m 3G -smp 4 -uuid f7356609-beb8-4ece-a330-82c12342ac05 -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=win2012R2.raw,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:2 -vga cirrus -qmp tcp:0:4449,server,nowait -monitor stdio -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:3b:35:66:04 -device virtio-scsi-pci,id=scsi0,num_queues=4,disable-legacy=on,disable-modern=off -drive file=blk-disk.raw,if=none,id=drive-scsi-disk0,format=raw,serial=mike_cao,cache=none -device scsi-hd,bus=scsi0.0,drive=drive-scsi-disk0,id=scsi-disk0 -object iothread,id=thread0 -drive file=scsi-disk.raw,if=none,id=drive-virtio-disk0,format=raw,serial=mike_cao,cache=none -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk0,iothread=thread0,id=virtio-disk0,disable-legacy=on,disable-modern=off -cdrom /home/106-netkvm-win2012R2-function/en_windows_server_2012_r2_x64_dvd_2707946.iso
2. enlarge the data disk of block device
{"execute":"block_resize","arguments":{"device":"drive-virtio-disk0","size":21474836480 }}
3. re-scan the disk on guest disk manager
Actual results:
The disk size did not change.
Expected results:
disk size should changed to 20G
Additional info:
1 boot guest w/o virtio1.0 device, cannot enlarge the disk too. (virtio-win10-prewhql-1-13)
2 after disable/enable the device, the disk size can change on disk manager.
verify this bug on build 15,
steps as comment#0
Actual results: can resize the disk successfully.
Above all, this bug has been fixed on virtio-win10-prewhql-1-15.
Thanks
wyu
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2609.html
Description of problem: Cannot enlarge/shrink disk with virtio1.0 device Guest OS: win2012R2/win10-64/win8-32, other guest should be the same problem. Version-Release number of selected component (if applicable): kernel-3.10.0-401.el7.x86_64 qemu-kvm-rhev-2.6.0-1.el7.x86_64 seabios-1.9.1-4.el7.x86_64 virtio-win10-prewhql-1-13 How reproducible: 100% Steps to Reproduce: 1. boot with command line /usr/libexec/qemu-kvm -M pc -name win2012R2 -enable-kvm -m 3G -smp 4 -uuid f7356609-beb8-4ece-a330-82c12342ac05 -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=win2012R2.raw,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:2 -vga cirrus -qmp tcp:0:4449,server,nowait -monitor stdio -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:3b:35:66:04 -device virtio-scsi-pci,id=scsi0,num_queues=4,disable-legacy=on,disable-modern=off -drive file=blk-disk.raw,if=none,id=drive-scsi-disk0,format=raw,serial=mike_cao,cache=none -device scsi-hd,bus=scsi0.0,drive=drive-scsi-disk0,id=scsi-disk0 -object iothread,id=thread0 -drive file=scsi-disk.raw,if=none,id=drive-virtio-disk0,format=raw,serial=mike_cao,cache=none -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk0,iothread=thread0,id=virtio-disk0,disable-legacy=on,disable-modern=off -cdrom /home/106-netkvm-win2012R2-function/en_windows_server_2012_r2_x64_dvd_2707946.iso 2. enlarge the data disk of block device {"execute":"block_resize","arguments":{"device":"drive-virtio-disk0","size":21474836480 }} 3. re-scan the disk on guest disk manager Actual results: The disk size did not change. Expected results: disk size should changed to 20G Additional info: 1 boot guest w/o virtio1.0 device, cannot enlarge the disk too. (virtio-win10-prewhql-1-13) 2 after disable/enable the device, the disk size can change on disk manager.