[virt-tools-list] Possibility to define directory used to save snapshots?

OmegaPhil OmegaPhil at startmail.com
Mon Jan 29 15:44:26 UTC 2018


On 29/01/18 15:08, Eric Blake wrote:
> On 01/29/2018 09:04 AM, Eric Blake wrote:
>> On 01/27/2018 07:04 AM, OmegaPhil wrote:
>>> Using Virtual Machine Manager 1.4.3 here on Devuan Ascii with libvirt0
>>> 3.0.0-4+deb9u1. I have a collection of VMs on this machine (so single
>>> host, no migrations, no shared storage etc etc) that are stored in a
>>> storage pool outside of the root volume (since the root volume is mostly
>>> dedicated to the OS) - so not '/var/lib/libvirt/images'.
>>>
>>> The OS volume is running out of space, and I found that snapshots were
>>> being stored separately from the VMs, at '/var/lib/libvirt/qemu/save' -
>>> is there a way for me to configure where snapshots end up, and
>>> preferably in the same storage location as the VMs?
>>>
>>> '/etc/libvirt/storage' seems to only store configuration for the storage
>>> pools that host the VMs.
>>
>> There is an (OLD) bugzilla request against libvirt to add the notion of
>> an XML element to each <domain> that specifies the preferred storage
>> pool to use when libvirt has to create files associated with that domain
>> (and where absence of the element then falls back to the current
>> /var/lib/libvirt/qemu/save).  But such a request has to be implemented
>> in libvirt before virt-manager can set the XML.
> 
> It helps if I link to the BZ:
> https://bugzilla.redhat.com/show_bug.cgi?id=1057800


Cheers, have updated my ticket and subscribed to that one.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20180129/4597ff30/attachment.sig>


More information about the virt-tools-list mailing list