Skip to main content
NetApp Knowledge Base

How does showmount work with ONTAP?

Views:
5,432
Visibility:
Public
Votes:
2
Category:
clustered-data-ontap-8
Specialty:
core
Last Updated:

Applies to

ONTAP 9

Answer

The showmount option allows NFS clients can use the showmount -e command to see a list of exports available on an NFS server

Additional Information

  • To enable/disble the showmount option:

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

  • In ONTAP 9.6 and later, the paths displayed can be restricted to / only, use the following commands:
    • vserver nfs -vserver <vserver> -showmount disabled
    • vserver nfs -vserver <vserver> -showmount-root-only enabled
  • After showmount is enabled, clients will be able to query data LIFs for export paths
    • A path is considered "exported" when a junction-path is present and an export-policy defined
    • It is not possible to have a volume junctioned without an export-policy
  • The clientmatch (access from clients, netgroups, and so on) information will not be available
    • Each path will show (everyone) having access in the command output
    • ONTAP cannot list acceptable clientmatches in showmount output
  • NetApp TR-4067
  • Qtrees failing to display in "showmount -e"
  • Can volumes be hidden from the showmount command?

 

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.