The following list shows the basic command syntax for performing some common network file sharing tasks in the Oracle Solaris 11.3 release. For more information, see the nfsref(1M), nfsstat(1M), share(1M), and mount(1M) man pages.
Share a ZFS file system
$ zfs set share.nfs=on | off filesystem
Define file systems to use NFS server logging
$ share -F nfs -o,log=global filesystem
List the shared NFS file systems
$ share -F nfs
Mount a file system
$ mount -F nfs -o specific-options resource mount-point
Mount an NFS File System by Using an NFS URL
$ mount -F nfs nfs://host[:port]/pathname mount-point
Display information about file systems available for mounting
$ /usr/sbin/showmount -e hostname
Select different versions of NFS on a server
$ sharectl set -p server_versmax=version_num nfs $ sharectl set -p server_versmin=version_num nfs
Disable server delegation
$ sharectl set -p server_delegation=off nfs
Set a common domain for NFS clients and servers
$ sharectl set -p nfsmapid_domain=domain_name nfs
Create an NFS referral
$ nfsref add ref_filesystem server_name1:filesystem server_name2:filesystem
Remove an NFS referral
$ nfsref remove ref_filesystem
Disable autofs browsability on a single NFS client
$ sharectl set -p nobrowse=TRUE autofs