You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Engelmann Florian <fl...@everyware.ch> on 2017/04/03 09:33:10 UTC

KVM Ceph libvirt online resize

Hi,

currently we are testing 4.9.2 with KVM and Ceph. Online resize of volumes via API and UI is possible but the guest does not recognize a resize was done.

It's possible to "notify" the guest by triggering the following command from the KVM host:

virsh qemu-monitor-command --hmp i-168-4502-VM 'block_resize drive-virtio-disk1 125G'

But there must be a method to trigger something from within the guest VM?

All the best,
Flo

Re: KVM Ceph libvirt online resize

Posted by Engelmann Florian <fl...@everyware.ch>.
Hi,

as far as I understood Cloudstack uses "virtio-blk" (I guess https://github.com/apache/cloudstack/pull/1955 will change that) so rescanning for scsi devices doesn't help.

All the best,
Flo



________________________________________
From: Vy Nguyen Tan <vy...@gmail.com>
Sent: Tuesday, April 4, 2017 3:39 AM
To: users@cloudstack.apache.org
Subject: Re: KVM Ceph libvirt online resize

Hi,

Try to rescan iSCSI disks
https://tipstricks.itmatrix.eu/hard-disk-sync-without-reboot/

On Mon, Apr 3, 2017 at 4:33 PM, Engelmann Florian <
florian.engelmann@everyware.ch> wrote:

> Hi,
>
> currently we are testing 4.9.2 with KVM and Ceph. Online resize of volumes
> via API and UI is possible but the guest does not recognize a resize was
> done.
>
> It's possible to "notify" the guest by triggering the following command
> from the KVM host:
>
> virsh qemu-monitor-command --hmp i-168-4502-VM 'block_resize
> drive-virtio-disk1 125G'
>
> But there must be a method to trigger something from within the guest VM?
>
> All the best,
> Flo

Re: KVM Ceph libvirt online resize

Posted by Vy Nguyen Tan <vy...@gmail.com>.
Hi,

Try to rescan iSCSI disks
https://tipstricks.itmatrix.eu/hard-disk-sync-without-reboot/

On Mon, Apr 3, 2017 at 4:33 PM, Engelmann Florian <
florian.engelmann@everyware.ch> wrote:

> Hi,
>
> currently we are testing 4.9.2 with KVM and Ceph. Online resize of volumes
> via API and UI is possible but the guest does not recognize a resize was
> done.
>
> It's possible to "notify" the guest by triggering the following command
> from the KVM host:
>
> virsh qemu-monitor-command --hmp i-168-4502-VM 'block_resize
> drive-virtio-disk1 125G'
>
> But there must be a method to trigger something from within the guest VM?
>
> All the best,
> Flo