如果根卷导出策略拒绝读取访问、则无法挂载NFS导出
适用场景
- ONTAP 9
- NFS
问题描述
Permission denied/access denied
在客户端上挂载卷时出现错误:
[root@client1 ~]# mount 10.1.2.3:/vol1 /mnt -v
mount.nfs: timeout set for Fri Mar 12 01:11:48 2021
mount.nfs: trying text-based options 'vers=4.1,addr=10.1.2.3,clientaddr=10.3.4.5'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'addr=10.1.2.3'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.1.2.3 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.1.2.3 prog 100005 vers 3 prot UDP port 635
mount.nfs: mount(2): Permission denied
mount.nfs: Operation not permitted
[root@client1 ~]# mount 10.1.2.3:/vol1 /mnt
mount.nfs: access denied by server while mounting 10.1.2.3:/vol1
- 适用于Windows的NFS客户端显示以下错误:
System error 53 has occurred. The network path was not found
- 命令
check-access
显示哪个导出策略规则拒绝对SVM根卷(svm1_root)进行读取访问
::> vserver export-policy check-access -vserver svm1 -volume vol1 -client-ip 10.3.4.5 -authentication-method sys -protocol nfs3 -access-type read-write Policy Policy Rule Path Policy Owner Owner Type Index Access ----------------------------- ---------- --------- ---------- ------ ---------- / default svm1_root volume 0 denied