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