?Hi Josh,

thanks for your explanations. That helps me a lot!


Greets,

Kilian

________________________________
Von: Josh Wilsdon <[email protected]>
Gesendet: Montag, 21. Dezember 2015 16:54
An: [email protected]
Betreff: Re: [smartos-discuss] Live Resize KVM Disk

> Now my question is if we can't skip step 2 (reboot of KVM guest).


Hi Kilian,

This is not something that's currently supported by the SmartOS tooling. 
However, I believe the missing piece would be to use the block_resize command 
via QMP to tell Qemu that the disk is larger. Specifically this command:

    https://github.com/qemu/qemu/blob/master/qmp-commands.hx#L1035-L1057

Since currently vmadmd is connected to the QMP sockets, you will most likely 
need to stop vmadmd before you're able to send commands.

If it were ever supported in vmadm, the way I would do it is to add support for 
this QMP command to vmadmd and then vmadm would use that to do the live resize 
when you alter the disks.X.size parameter on a VM. At this point though there's 
no work planned in this direction.

Hope that helps,
Josh
smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> 
[https://www.listbox.com/images/feed-icon-10x10.jpgfe4ca5b.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc]
 <https://www.listbox.com/member/archive/rss/184463/27541149-b940c87b>  | 
Modify<https://www.listbox.com/member/?&;> Your Subscription       
[https://www.listbox.com/images/listbox-logo-small.pngfe4ca5b.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]
 <http://www.listbox.com/>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to