NFS access LXC Container Unprivileged container with Proxmox Backup Server 3

Jarvar

Active Member
Aug 27, 2019
317
10
38
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.
 

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!