跳转到主内容

如果存在多个客户端IP地址、则会在ONTAP 9的导出策略中拒绝访问

Views:
20
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • 集群模式 Data ONTAP
  • ONTAP 9
  • NFS
  • IPv4和IPv6

问题描述

  • 尝试在客户端上挂载NFS时、出现以下错误:
[root@linux ~]# mount -t nfs Ontap_IP:/NFS_IPV6 /mnt
mount.nfs: mount(2): Permission denied
  • 分配了多个IP地址后、客户端无法评估导出策略。
  • 2620:118:8010:1096:250:56ff:fea6:fbb7ONTAP 上的导出策略中的客户端匹配允许使用IP ":

cluster::*> export-policy rule show -vserver vs1 -policyname NFS_policy -instance
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 2620:118:8010:1096:250:56ff:fea6:fbb7

  • 但是、客户端上有多个接口、并分配了多个IP地址:

[root@linux ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
     inet6 2620:118:8010:1096:250:56ff:fea6:a895 prefixlen 64  scopeid 0x0<global>

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
     inet6 2620:118:8010:1096:250:56ff:fea6:fbb7 prefixlen 64  scopeid 0x0<global>

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device