Managing Network File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

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.2 .

  2. Define the file systems to be shared.

    Use the share command to define each path to be shared. This information is retained when a system is rebooted.

    # share -F nfs -o specific-options pathname

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

  3. Verify that the options you specified are listed.
    # share -F nfs

    For example:

    # share -F nfs
    export_share_man    /export/share/man   sec=sys,ro
    export_ftp          /usr/src       sec=sys,rw=eng
    usr_share_src       /export/ftp    sec=sys,ro,public

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 Table 4–1.