[libvirt] [PATCH 2/2] storage: lvm: lvcreate fails with allocation=0, don't do that
Eric Blake
eblake at redhat.com
Wed Oct 17 01:14:28 UTC 2012
On 10/16/2012 06:38 PM, Cole Robinson wrote:
> On F17 at least, this command fails:
>
> $ sudo /usr/sbin/lvcreate --name sparsetest -L 0K --virtualsize 16384K vgvirt
> Unable to create new logical volume with no extents
>
> Which is unfortunate since allocation=0 is what virt-manager tries to use
> by default.
>
> Rather than telling the user 'don't do that', let's just give them the
> smallest allocation possible if alloc=0 is requested.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=866481
> ---
> src/storage/storage_backend_logical.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
ACK
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121016/35350c9e/attachment-0001.sig>
More information about the libvir-list
mailing list