hei jed,

that sounds slick. thx for the pointer.

out of interest ...

1. how do you handle snapshots for VMs?
    I guess you have the choice between btrfs/zfs and qemu/virsh snapshots on the images to your avail with a setup as yours
2. is there anything else then the hd images inside those subvolumes?

all best
Gunnar

On 28.04.25 18:06, Jed Reynolds wrote:
When I set up a ZFS pool for VMs , I dedicate a filesystem per VM , so that I can independently roll back VMS. So I would suggest creating a sub-volume for each of your own VMs.

Jed


On April 27, 2025 11:26:51 PM PDT, vrms <v...@netcologne.de> wrote:

    I want to set up kvm/qemu virtualization on personal notebook
    (debian 13) and have one issue I need to address.

    I am running on btrfs taking regular snapshots for the /
    directory, which lead to high hard disk usage due to all snapshots
    being made of qcow2 images of vms (being located in
    /var/lib/libvirt/images in the past ...

    In order to avoid running into such a situation again I am
    thinking on how to set this up a little different. 2 ideas is this
    regards:

    1. setting up a btrfs subvol for the mentioned directory (prior
    installation)
    2. putting the image file elsewhere (which would also be a subvol)

    what would you suggest?

    ... while writing this I feel #2 would be the better way to approach.
    So the question (if you agree) ... is it the |--disk path=
    option|in a virt-install command, that would take care of that?

Reply via email to