[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:

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!