Go to main content

Managing Network File Systems in Oracle® Solaris 11.3

Exit Print View

Updated: September 2018
 
 

How to Set Up Automatic File System Sharing

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Define the file systems to be shared.

    Note -  NFS server processes do not start by default.

    You can set the share.nfs property to share a ZFS file system.

    $ zfs set share.nfs=on | off filesystem

    For example:

    $ zfs set share.nfs=on pond/amy

    For information about the available command options, see the zfs_share(1M) man page.

  3. Verify that the file system is shared.

    You can use the share command to get a list of all the shared file systems.

    For example:

    $ share
    pond_amy            /pond/amy            nfs sec=sys,rw 
    

Next Steps

The next step is to set up your autofs maps so that clients can access the file systems that you have shared on the server. For more information about setting up autofs maps, see Figure 6, Table 6, Tasks for Administering Autofs.