[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/2] storage: lvm: Don't overwrite lvcreate errors



On 10/16/2012 06:38 PM, Cole Robinson wrote:
> Before:
> $ sudo virsh vol-create-as --pool vgvirt sparsetest --capacity 16M --allocation 0
> error: Failed to create vol sparsetest
> error: internal error Child process (/usr/sbin/lvchange -aln vgvirt/sparsetest) unexpected exit status 5:   One or more specified logical volume(s) not found.
> 
> After:
> $ sudo virsh vol-create-as --pool vgvirt sparsetest --capacity 16M --allocation 0
> error: Failed to create vol sparsetest
> error: internal error Child process (/usr/sbin/lvcreate --name sparsetest -L 0K --virtualsize 16384K vgvirt) unexpected exit status 5:   Unable to create new logical volume with no extents
> ---
>  src/storage/storage_backend_logical.c | 3 +++
>  1 file changed, 3 insertions(+)

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]