[SOLVED] How to use ZFS VDEV as block device for vm?

skraw

Well-Known Member
Aug 13, 2019
77
1
48
58
Hello,

it seems the common config for vm drives in proxmox is file-based. But of course qemu can do more. So how do I tell proxmox to use a zfs vdev as block device inside a vm?
--
Regards
 
Ok, in the meantime I found out that my question probably misled you in the storage direction. But in fact I only searched for a possibility to mount some block device (which can be a zfs vdev) inside a vm. And guess what, striking easy:

qm set VMID -scsi0 /dev/someblockdevice

and you have a /dev/sda inside the vm ...