Best practice sharing (zfs) disk space from host to virtual machines

rcd

Well-Known Member
Jul 12, 2019
246
25
58
63
Sharing disks in containers using bind mounts are easy and effective, but as far as I'm informed, not possible with VM's.

So what is the best way to get this functionality to VM's?

I've not been able to get an nfs server working on the PVE hypervisor so my work around is having a privileged CT with bind mount and nfs server. It just seems like going over the river to get water, if that expression makes sense in English. Is there not a way I can share file space directly from PVE to VM's ?
 
Sharing disks in containers using bind mounts are easy and effective, but as far as I'm informed, not possible with VM's.

So what is the best way to get this functionality to VM's?

I've not been able to get an nfs server working on the PVE hypervisor so my work around is having a privileged CT with bind mount and nfs server. It just seems like going over the river to get water, if that expression makes sense in English. Is there not a way I can share file space directly from PVE to VM's ?
No, you need to use some kind of network protocol like NFS, SMB and so on.
NFS on the host itself should work if done right.