Administering Network File Systems

This table provides the basic command syntax for performing some common network file sharing tasks in the Oracle Solaris 11.4 release. For more information, see the nfsref(8), nfsstat(8), share(8), and mount(8) man pages.

Action Command

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