The mountd daemon checks the /etc/dfs/sharetab file to determine whether a particular file or directory is being shared and whether the requesting client has
permission to access the shared resource

Commands Description
share Makes a local directory on an NFS server available for mounting. It also displays the contents of the /etc/dfs/sharetab file.
unshare Makes a previously available directory unavailable for client side mount operations.
shareall Reads and executes share statements in the /etc/dfs/dfstab file.
unshareall Makes previously shared resources unavailable.
dfshares Lists available shared resources from a remote or local NFS server.
dfmounts Displays a list of NFS server directories that are currently mounted.

showmount -e —->

share [ -F nfs ] [ -o options ] [ -d description ] [ pathname ]

Where

-F nfs Specifies the file system type. This option is not typically required, because NFS is the default remote file system type.
-o options Controls a client’s access to an NFS shared resource.
-d description Describes the shared file resource.
pathname Specifies the absolute path name of the resource for sharing.

where:
-F nfs Specifies NFS as the file system type. Because NFS is the default remote file system type, you do not have to specify this option.
pathname Specifies the path name of the file resource to unshare.

File Description
/etc/vfstab Defines file systems to be mounted locally.
/etc/mnttab Lists currently mounted file systems, including automounted directories. The contents of this file are maintained by the kernel and cannot be edited.
/etc/dfs/fstypes Lists the default file system types for remote file ystems.
/etc/default/nfs Contains parameters used by NFS protocols and daemons.

To mount remote file resources at boot time, enter the appropriate entries in the client’s /etc/vfstab

Command Description
dfshares Lists available shared resources from a remote or local NFS server
mount Attaches a file resource (local or remote) to a specified local mount point
umount Unmounts a currently mounted file resource
mountall Mounts all file resources or a specific group of file resources listed in the /etc/vfstab file with a mount at boot value of yes
umountall Unmounts all non-critical local and remote file resources