[SOLVED] NFS mouning on LXC container. Permission denied

waxy

New Member
Jul 3, 2024
8
1
3
I have been trying to mount NFS shares on LXCs for the past three days and I couldn't get it to work. I have seen guides on CIFS/SMB shares but nothing on NFS. I have tried mounting using the GUI but I kept get permission denied error.

I have also followed TheHellSite's guide but I couldn't get NFS working. I get this error when trying to mount the share to the proxmox host after editing /etc/fstab:
Code:
mount.nfs: remote share not in 'host:dir' format
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
How do I setup the /etc/fstab as it seems that it is what is causing the problem. If there is an easier way to set it up please mention it and Thank you in advance!
 
I have already fixed the problem. As I said the it was my configuration that was the problem. Also I had to change the NAS setting to map all users as root.

Edit: I followed this tutorial.
 
Last edited: