Mount operation fails with permission denied due to IP address translation by the NAT service
Applies to
- ONTAP 9
- NFS
- Network Address Translation (NAT) service.
Issue
- Mount operation fails with "Permission denied" despite correct permission settings on storage and client end.
[root@linux1 ~]# mount -t nfs -o vers=3,tcp 10.20.30.40:/vol -vvv
mount.nfs: timeout set for Mon Dec 7 16:28:48 2020
mount.nfs: trying text-based options 'vers=3,tcp,addr=10.20.30.40'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.20.30.40 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 10.20.30.40 prog 100005 vers 3 prot TCP port 635
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.20.30.40:/vol
- NAT service is used in the environment to mask the client IP addresses.