[libvirt-users] How to have a directory and its subdirectories as a storage pool

Eric Blake eblake at redhat.com
Wed Sep 3 15:15:04 UTC 2014


On 09/03/2014 06:11 AM, Marc Haber wrote:
> Hi,
> 
> I would like to use btrfs subvolumes as storage place for VM images to
> use snapshots.
> 
> Unfortunately, this does not seem to work in virt-manager at least
> since the "filesystem directory" storage pool type does not allow me
> to descend into subdirectories.
> 
> Is there a trick to do this? Can I do it with virsh, or in the XML?

At the moment, you have to create a new storage pool for each
subdirectory you want to recurse into.  Yes, it would be nice if
virt-manager could automate this a bit more.

-- 
Eric Blake   eblake 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: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140903/d500e4e0/attachment.sig>


More information about the libvirt-users mailing list