NFS access LXC Container Unprivileged container with Proxmox Backup Server 3

Jarvar

Well-Known Member
Aug 27, 2019
317
10
58
I am trying to mount an NFS storage.
I did this previously using a VM, but switched to an unprivileged container.
I have passed through ZFS pools from the Host.
I have mounted a the NFS in the host and its accessible, but I'm having difficulty accessing it in the lxc container.
Probably has something to do with permissions.
Would appreciate any help. Thank you.

/mnt/nfs-pbs# ls -la /mnt/nfs-pbs/ total 2 drwxr-xr-x 3 root root 3 Nov 8 14:58 . drwxr-xr-x 5 root root 5 Nov 8 12:42 .. drwxr-xr-x 2 root root 2 Nov 8 14:58 synstore002
 
If you only create files from inside the container, this is indeed a feasible solution!
The problem with chown is that the problem will come back for any new file that is created outside the container.