1. 检查 SVM 当前已启用和禁用的协议:

​vserver show -vserver vserver_name -protocols​

以下命令显示 SVM vs1 上当前已启用和禁用(允许和不允许)的协议:

vs1::> vserver show -vserver vs1.example.com -protocols
Vserver Allowed Protocols Disallowed Protocols
----------- ---------------------- -----------------------
vs1.example.com nfs                 cifs, fcp, iscsi, ndmp

如果您使用的是现有 SVM ,请检查默认根卷导出策略:

​vserver export-policy rule show​

命令输出应类似于以下内容:

cluster::> vserver export-policy rule show -vserver vs1.example.com
-policyname default -instance
  Vserver: vs1.example.com
  Policy Name: default
  Rule Index: 1
  Access Protocol: nfs
Client Match Hostname, IP Address, Netgroup, or Domain: 0.0.0.0/0
  RO Access Rule: any
  RW Access Rule: any
User ID To Which Anonymous Users Are Mapped: 65534
  Superuser Security Types: any
  Honor SetUID Bits in SETATTR: true
  Allow Creation of Devices: true
  1. 为 SVM 根卷创建导出规则:
vserver export-policy rule create -vserver vserver_name -policyname default
-ruleindex 1 -protocol nfs -clientmatch 0.0.0.0/0 -rorule any ‑rwrule any
-superuser any

使用验证规则创建  命令:
vserver export-policy rule show