Hi all, I need to mount a NFS share in a LXC unprivileged container so I would like to mount it on the host (node than host the LXC) and then export the mount point to the LXC as suggest me Oguz in a previous thread. On the NFS server I have added the ip of the host to the exports file and then I have created the nfs-tuning mount point folder in /mnt but when I launch the mount command I get a Permission denied error. This is the result of the mount command:
Please can you help me to solve this problem?
Piviul
Bash:
# mount.nfs -v serverdati:/home/tuning /mnt/nfs-tuning/
mount.nfs: timeout set for Tue Nov 10 08:30:55 2020
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.70.5,clientaddr=192.168.70.32'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.1,addr=192.168.70.5,clientaddr=192.168.70.32'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.0,addr=192.168.70.5,clientaddr=192.168.70.32'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.70.5'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.70.5 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.70.5 prog 100005 vers 3 prot UDP port 57757
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting serverdati:/home/tuning
Please can you help me to solve this problem?
Piviul