NFS client trying to mount with root on a non-reserved port and gets access denied
Applies to
- ONTAP 9
- Data ONTAP 8 7-Mode
- NFS
- Network Address Translation (NAT) device
- VPN (Optional)
Issue
- NFS client unable to mount the volume and get access denied error
[root@linux1 ~]# mount -t nfs 10.11.12.13:/vol /mnt
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.11.12.13:/vol
- Below error can be seen in EMS Logs:
7-Mode
[mountd_main:warning]: Client [IP_address] trying to mount from a nonreserved port [port_number] as 0
ONTAP
Thu Apr 02 13:41:17 GMT [node01: kernel: Nblade.NfsMountRootOnly:notice]: mount operation by non-root user failed. Vserver ID is xx; ProgramNumber is 100005; client IP address:port is 10.10.10.1:58459; local IP address is 10.11.12.13; Procedure number is 1