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

skraw

Well-Known Member
Aug 13, 2019
77
1
48
57
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 ...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!