[libvirt] [PATCH] Support creation of sparse LVM volumes

Eric Blake eblake at redhat.com
Wed Jul 11 18:04:05 UTC 2012


On 07/11/2012 10:30 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> When calling 'lvcreate' if specifying both the '-L' and
> '--virtualsize' options, the latter will be treated as
> the capacity and the former as the allocation. This can
> be used to support sparse volume creation. In addition,
> when listing volumes it is neccessary to include the 'size'

s/neccessary/necessary/

> field in lvs output, so that we can detect sparse volume
> allocation correctly.
> ---
>  src/storage/storage_backend_logical.c |   27 ++++++++++++++++++---------
>  1 files changed, 18 insertions(+), 9 deletions(-)
> 

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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120711/a0183815/attachment-0001.sig>


More information about the libvir-list mailing list