跳转到主内容

showmount 如何与 ONTAP 配合使用?

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

适用于

  • ONTAP 9

回答

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

追加信息

  • 要启用/禁用 showmount 选项,请执行以下操作:

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

  • 在 ONTAP 9.6 及更高版本中,显示的路径可以仅限于 /,请使用以下命令:
    • vserver nfs modify -vserver <vserver> -showmount disabled
    • vserver nfs modify -vserver <vserver> -showmount-root-only enabled
  • 启用 showmount 后,客户端将能够查询数据 LIF 的导出路径
    • 当存在 junction-path 并定义了 export-policy 时,路径被视为"已导出"
    • 如果没有 export-policy,则无法在没有 export-policy 的情况下连接卷
  • 无法提供客户端匹配项(客户端、网络组等对象的访问权限)信息
    • 每个路径将在命令输出中显示(所有人)具有访问权限
    • 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.