I just went through a journey trying to share ZFS dataset to VMs rather than mount it as Hard Disk.
The goal is to have files accessible without VM running.
I see it beneficial dealing with large files stored on spinning rust, such as surveillance videos or photo gallery.
It's quite simple to get Samba working with Windows VM, there are several youtube walk through.
But to get NFS via LXC, it's a deep rabbit hole, needing privileged LXC and permission edit
https://theorangeone.net/posts/mount-nfs-inside-lxc/
https://forum.proxmox.com/threads/nfs-server-in-lxc.105073/#post-648826
https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
All these extra steps and bypassing security makes NFS via LXC feels counter-productive, might as well just run NFS on proxmox direct.
Is it a bad idea to run NFS direct on proxmox? Privileged LXC doesn't seems to be much better here
Is there any other alternative to mount host FS to VM in proxmox?
The goal is to have files accessible without VM running.
I see it beneficial dealing with large files stored on spinning rust, such as surveillance videos or photo gallery.
It's quite simple to get Samba working with Windows VM, there are several youtube walk through.
But to get NFS via LXC, it's a deep rabbit hole, needing privileged LXC and permission edit
https://theorangeone.net/posts/mount-nfs-inside-lxc/
https://forum.proxmox.com/threads/nfs-server-in-lxc.105073/#post-648826
https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
All these extra steps and bypassing security makes NFS via LXC feels counter-productive, might as well just run NFS on proxmox direct.
Is it a bad idea to run NFS direct on proxmox? Privileged LXC doesn't seems to be much better here
Is there any other alternative to mount host FS to VM in proxmox?
Last edited: