cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus <shadow...@gmail.com>
Subject Re: master issue calling volume resize via libvirt - Was: libvirt-java upgrade
Date Tue, 11 Mar 2014 17:18:47 GMT
Created CLOUDSTACK-6225 and pushed a patch to verify libvirt version
and format before adding the allocate flag.

The bug also mentions the outstanding Ubuntu 12.04 issue.

On Tue, Mar 11, 2014 at 10:50 AM, Nux! <nux@li.nux.ro> wrote:
> On 11.03.2014 16:46, Marcus wrote:
>>
>> so it looks like preallocation only works 1) on raw volumes, and 2) on
>> certain libvirt versions. I'll see if I can add those checks in,
>> assuming we really want to keep that flag.
>
>
> That is true. Preallocation seems only for raw types.
> This is what I see with libvirt 1.1.1 on RHEL 7 (beta):
>
> [root@1708 ~]# virsh vol-resize test.qcow2 6M --allocate --pool default
> error: Failed to change size of volume 'test.qcow2' to 6M
>
> error: Operation not supported: preallocate is only supported for raw type
> volume
>
> HTH
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro

Mime
View raw message