跳转到主内容

showmount 如何与 ONTAP 配合使用?

Views:
114
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
core
Last Updated:

适用场景

ONTAP 9

问题解答

使用 showmount 选项, NFS 客户端可以使用 showmount -e 命令查看 NFS 服务器上可用导出的列表

追加信息

  • 启用 / 禁用 showmount 选项:

vserver nfs -vserver <vserver> -showmount {enabled\disabled}

  • 在ONTAP 9.6及更高版本中、显示的路径可以限制为/、请使用以下命令:
    • vserver nfs -vserver <vserver> -showmount disabled
    • vserver nfs -vserver <vserver> -showmount-root-only enabled
  • 启用 showmount 后,客户端将能够查询数据 LIF 以查找导出路径
    • 如果存在接合路径并定义了导出策略、则该路径将被视为"已导出"
    • 如果没有导出策略、则无法接合卷
  • 客户端匹配(从客户端、网络组等进行访问)信息将不可用
    • 每个路径都会在命令输出中显示(Everyone)具有访问权限
    • ONTAP无法在showmount输出中列出可接受的客户端匹配项
  • NetApp TR-4067
  • qtree 无法显示在 "showmount -e" 中
  • 是否可以在showmount命令中隐藏卷?

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.