Marc Haber
2014-Sep-03 12:11 UTC
[libvirt-users] How to have a directory and its subdirectories as a storage pool
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? 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
Eric Blake
2014-Sep-03 15:15 UTC
[libvirt-users] How to have a directory and its subdirectories as a storage pool
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>
Marc Haber
2014-Sep-03 16:11 UTC
Re: [libvirt-users] How to have a directory and its subdirectories as a storage pool
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
Reasonably Related Threads
- Simple Samba server for "at home" - what do I need and what not?
- Simple Samba server for "at home" - what do I need and what not?
- Re: How to have a directory and its subdirectories as a storage pool
- macvtap and tagged VLANs to the VM
- Re: macvtap and tagged VLANs to the VM