How does showmount work with ONTAP?
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?