System Administration Guide: Resource Management and Network Services

Setting Up NFS Services

This section describes some of the tasks necessary to initialize or use NFS services.

Table 15-3 NFS Services Task Map

Task 

Description 

For Instructions 

Start the NFS server 

 Steps to start the NFS service, if it has not been started automatically."How to Start the NFS Services"

Stop the NFS server 

 Steps to stop the NFS service. Normally the service should not need to be stopped."How to Stop the NFS Services"

Start the automounter 

 Steps to start the automounter. This procedure is required when some of the automounter maps are changed."How to Start the Automounter"

Stop the automounter 

 Steps to stop the automounter. This procedure is required when some of the automounter maps are changed."How to Stop the Automounter"

How to Start the NFS Services

  1. Become superuser or assume an equivalent role.

    For information about roles, see "Using Privileged Applications" in System Administration Guide: Security Services.

  2. Enable the NFS service daemons.

    Type the following command:


    # /etc/init.d/nfs.server start
    

    This command starts the daemons if an entry is in /etc/dfs/dfstab.

How to Stop the NFS Services

  1. Become superuser or assume an equivalent role.

    For information about roles, see "Using Privileged Applications" in System Administration Guide: Security Services.

  2. Disable the NFS service daemons.

    Type the following command:


    # /etc/init.d/nfs.server stop
    

How to Start the Automounter

  1. Become superuser or assume an equivalent role.

    For information about roles, see "Using Privileged Applications" in System Administration Guide: Security Services.

  2. Enable the autofs daemon.

    Type the following command:


    # /etc/init.d/autofs start
    

How to Stop the Automounter

  1. Become superuser or assume an equivalent role.

    For information about roles, see "Using Privileged Applications" in System Administration Guide: Security Services.

  2. Disable the autofs daemon.

    Type the following command:


    # /etc/init.d/autofs stop