proxmox

Proxmox is a great piece of software to manage your VM's and Linux Containers

installation images can be put in

/var/lib/vz/template/iso

check vm configuration

cat /etc/pve/qemu-server/103.conf

create zfs volume

zfs create -V 100G [zfspl]/[dataset]

add zfs volume to vm

qm set 103 -virtio1 zfspool:vm-103-disk-1

add zfs volume as virtio scsi device to vm

qm set 105 --scsihw virtio-scsi-pci --scsi9 vmdata:vm-105-disk-8

remove volume from vm

qm unlink 103 --idlist virtio1