Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

How does showmount work with clustered Data ONTAP?

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

Applies to

  • Clustered Data ONTAP 8.3
  • Clustered Data ONTAP 8.2
  • Clustered Data ONTAP 8.1

 

Answer

showmount -e from a UNIX/Linux client to an NFS server normally prints the NFS server's exported directories.
showmount -e to a Cluster-Mode vserver will only return /(everyone).

Example:
Clustered Data ONTAP 8.2 Vserver
:
root@linux_client:# showmount -e 10.61.24.48
Export list for 10.61.24.48:
/(everyone) ---> Note: The export is not open to everyone, and there is no issue.  See TR 4067.

root@linux_client:# showmount -a 10.61.24.48
All mount points on fx 10.61.24.48:


Example 7G/7-Mode Storage System:
root@linux_client:# showmount -e 10.61.64.20
Export list for 10.61.64.20:
/vol/vol22 (everyone)
/vol/vol0/home (everyone)
/vol/vol0 (everyone)
/vol/nambi (everyone)
/vol/vfiler_Vol2_new (everyone)

showmount -a to a GX/Cluster-Mode vserver will not display mounts points because rmtab is not used.


root@linux_client:# showmount -a 10.61.64.20
All mount points on 10.61.64.20:
10.56.10.121:/
10.61.33.153:/vol/vol22
10.61.33.153:/vol/vol0
10.61.33.216:/vol/vol0/home
10.61.33.216:/vol/vol22
10.61.33.42:/vol/nambi


Clustered Data ONTAP 8.3 and later:
Clustered Data ONTAP 8.3 introduced support for showmount queries from clients. This functionality is disabled by default. It can be enabled with the following command:

cluster ::> nfs server modify -vserver NFS83 -showmount <enabled/disabled>

After this is enabled, clients will be able to query data LIFs for export paths. However, the clientmatch (access from clients, netgroups, and so on) information will not be available. Instead, each path will reflect 'everyone' as having access, even if clients are specified in export policy rule sets. Below is a sample output of showmount in clustered Data ONTAP 8.3:

Example 8.3 and later Cluster-Mode Vserver:
# showmount -e 10.63.21.9
Export list for 10.63.21.9:
/unix (everyone)
/unix/unix1 (everyone)
/unix/unix2 (everyone)
/ (everyone)


See TR-4067 Section 5, Showmount in Clustered Data ONTAP for more details.
Note: To use showmount in clustered Data ONTAP 8.3, the Vserver root volume (/) needs to use UNIX security style. NTFS security style is currently not supported.
 

 

Additional Information

additionalInformation_text