[SOLVED] privileged LXC NFS problem

userarrayuser

New Member
Sep 19, 2024
2
0
1
Hello,

I tried move a VM into a CT but if I would like to setup the NFS mount I get: access denied by server while mounting 192.168.1.10:/volume1/backup
On VM everything works fine, this is what I done with CT:
1. Created CT in privileged "mode" (I read about unprivileged NFS problems and workarounds, I tried before but I gave up unprivileged "mode")
2. dnf update (almalinux 9.5)
3. dnf install nfs-utils
4. mkdir /mnt/backup
5. nano /etc/fstab
6. this line is added: 192.168.1.10:/volume1/backup /mnt/backup nfs nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0
7. mount -a
8. message: mount.nfs: access denied by server while mounting 192.168.1.10:/volume1/backup

Should I set lxc conf file anything?

Thank You
 

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!