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

rcd

Active Member
Jul 12, 2019
245
23
38
62
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.
 

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!