On 12/5/16 0:06 , Jussi Sallinen wrote:
> On 5 Dec 2016, at 0.53, Eric McPheron <[email protected]> wrote:
>>
>> Jussi,
>>
>> It looks like block_resize is not supported. I get the same error message 
>> when manually sending the command. Unfortunately the message isn't very 
>> helpful and nothing is logged.
>>
>>
>> # socat stdin unix-client:/zones/UUID/root/tmp/vm.qmp
>> {"QMP": {"version": {"qemu": {"micro": 1, "minor": 14, "major": 0}, 
>> "package": " (qemu-kvm-devel)"}, "capabilities": []}}
>>
>> {"execute": "qmp_capabilities"}
>> {"return": {}}
>>
>> {"execute":"block_resize","id":1,"arguments":{"device":"virtio0","size":128849018880}}
>> {"id": 1, "error": {"class": "UndefinedError", "desc": "An undefined error 
>> has ocurred", "data": {}}}
>> ^C
> 
> Maybe if someone at Joyent could try to bake in newer qemu version the 
> block_resize might work?
> Someone in #smartos irc mentioned that live resize worked in ZoL with KVM and 
> newer qemu.

To be honest, this is unlikely to be something we're going to be looking
at at Joyent. So if it's something folks care about, they'll need to
drive the investigation of what's required. If there are questions,
we'll try to answer them of course.

Robert



-------------------------------------------
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