Bug 1886714
Summary: | Can not resize block device with sata bus for guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Lili Zhu <lizhu> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED WONTFIX | QA Contact: | Han Han <hhan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.3 | CC: | chhu, dyuan, hhan, jsuchane, lmen, pkrempa, virt-maint, xuzhang |
Target Milestone: | rc | ||
Target Release: | 8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-04 16:08:28 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: | 1897025 |
Description
Lili Zhu
2020-10-09 08:03:31 UTC
After reboot the guest, the size of block device with sata bus can be updated. (In reply to Lili Zhu from comment #1) > After reboot the guest, the size of block device with sata bus can be > updated. You mean, that once you rebooted the guest, the blockresize command worked as expected? How can we reproduce this? Can you attach libvirt debug logs please? Thanks. (In reply to Jaroslav Suchanek from comment #2) > (In reply to Lili Zhu from comment #1) > > After reboot the guest, the size of block device with sata bus can be > > updated. > > You mean, that once you rebooted the guest, the blockresize command worked > as expected? > > How can we reproduce this? Can you attach libvirt debug logs please? Thanks. reproduce steps: 1. repeat step1-step7 in comment #0 2. reboot the guest, then check the block size info in guest # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 400M 0 disk vda 252:0 0 10G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 9G 0 part ├─rhel-root 253:0 0 8G 0 lvm / └─rhel-swap 253:1 0 1G 0 lvm [SWAP] the block size info is updated after reboot. Additional info: For the block device with virtio bus, the size will be updated right after resizing the block device via virsh blockresize. The command successfully resizes the disk backend, but apparently the guest doesn't re-read it. Since restart shows proper size and this is just a minor problem I'm closing this as wontfix. |