2

The default location of the virsh save myVm goes into /var/lib/something which makes my slash partition full on a Vm save, which is really anoying.

I could not figure out where is the virsh save myVm directory location defined! The default is into /var/lib/libvirt/qemu/save which doesn't seem to be defined in the /etc/libvirt/qemu.conf which defines only auto_dump_path.

I couldn't find it neither into the virsh edit myVm XML, nor into the pool virsh pool-dumpxml myPool my VM belongs to.

It could be explained in the redhat comunity I'm not a member.

KazikM
  • 213

1 Answers1

1

As a workaround but NOT THE SOLUTION either save or other data could be relocated like that:

#supposing my /data partition is into another disk
mkdir /data/data/qemu_saved_files
chown -R libvirt-qemu:libvirt-qemu /data/data/qemu_saved_files
rm -r /var/lib/libvirt/qemu/save
ln -s /data/data/qemu_saved_files /var/lib/libvirt/qemu/save
sudo systemctl restart libvirtd