Unable to mount the qtrees as export-policy does not match client IP
Applies to
- ONTAP 9 and later
- NFS
- CVO
Issue
- Unable to mount Qtrees using NFS and getting access denied error:
root@ubuntu:~# mount -a -o nfsvers=3 10.216.41.1xx:/test_asa/test_asa_qtree /test1
mount.nfs: access denied by server while mounting 10.216.41.1xx:/test_asa/test_asa_qtree
- Export policy assigned to the Qtree, its parent, or the root volume does not provide access to client
- Export-policy check access fails with access as "denied"
cdot_vsim6::> export-policy check-access -vserver shruti -volume test_asa -client-ip 10.216.41.xx -authentication-method sys -protocol nfs3 -access-type read-write -qtree test_asa_qtree
Policy Policy Rule
Path Policy Owner Owner Type Index Access
----------------------------- ---------- --------- ---------- ------ ----------
/ test1 shru_svm_root
volume 1 read
/test_asa default test_asa volume 5 read
/test_asa/test_asa_qtree qtree_policy
test_asa_qtree
qtree 0 denied
3 entries were displayed.