[SOLVED] privileged LXC NFS problem

userarrayuser

New Member
Sep 19, 2024
4
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
 
Great you solved it! Please tag this thread "Solved" by (re-) editing the first post. The "Title" has a drop-down menu for this.