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

Marc Haber mh+libvirt-users at zugschlus.de
Wed Sep 3 16:11:59 UTC 2014


On Wed, Sep 03, 2014 at 09:15:04AM -0600, Eric Blake wrote:
> On 09/03/2014 06:11 AM, Marc Haber wrote:
> > 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.

Which would mean one storage "pool" per VM, which is not really
practical.

>   Yes, it would be nice if virt-manager could automate this a bit
>   more.

Is there a bug/request tracker for libvirt?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600420




More information about the libvirt-users mailing list