[libvirt-users] libvirt and lvm thin pool

Ján Tomko jtomko at redhat.com
Mon Aug 4 08:40:05 UTC 2014


On 08/02/2014 10:24 PM, Vasiliy Tolstov wrote:
> Hi all. I'm using libvirt 1.2.6
> I want to use lvm storage for my virtual machines.
> But i want to use new lvm2 feature - thin pool. How can i do that in
> libvirt? If libvirt can't create it via pool xml, does (and how) to
> use this setup under libvirt?
> 

Hi,

libvirt doesn't know thin pools.

But if you create a logical pool in libvirt using a certain volume group, the
thin volumes created in this volume group should be visible to libvirt*.

* I haven't actually tested it. Looking at the code, we only skip over the
logical volumes of type 't', which is the volume containing the thin pool, but
the thin volumes ('V' in lvs output) are not skipped.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140804/c25b3140/attachment.sig>


More information about the libvirt-users mailing list