Skip to main content

Enable the display of NFS exports on NFS clients

Contributors netapp-aherbin

NFS clients can use the showmount -e command to see a list of exports available from an ONTAP NFS server. This can help users identify the file system they want to mount.

Beginning with ONTAP 9.2, ONTAP allows NFS clients to view the export list by default. In earlier releases, the showmount option of the vserver nfs modify command must be enabled explicitly. For viewing the export list, NFSv3 should be enabled on the SVM.

Example

The following command shows the showmount feature on the SVM named vs1:

clusterl : : > vserver nfs show -vserver vs1 -fields showmount
vserver showmount
------- ---------
vs1    enabled

The following command executed on an NFS client displays the list of exports on an NFS server with the IP address 10.63.21.9:

showmount -e 10.63.21.9
Export list for 10.63.21.9:
/unix        (everyone)
/unix/unixl  (everyone)
/unix/unix2  (everyone)
/            (everyone)