JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Network Services     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

Part I Network Services Topics

1.  Network Service (Overview)

2.  Managing Web Cache Servers

3.  Time-Related Services

Part II Accessing Network File Systems Topics

4.  Managing Network File Systems (Overview)

5.  Network File System Administration (Tasks)

Automatic File System Sharing

How to Set Up Automatic File-System Sharing

How to Enable WebNFS Access

How to Enable NFS Server Logging

Mounting File Systems

How to Mount a File System at Boot Time

How to Mount a File System From the Command Line

Mounting With the Automounter

How to Mount All File Systems from a Server

How to Disable Large Files on an NFS Server

How to Use Client-Side Failover

How to Disable Mount Access for One Client

How to Mount an NFS File System Through a Firewall

How to Mount an NFS File System Using an NFS URL

Setting up a DNS Record for a Federated File System Server

Setting Up NFS Services

How to Start the NFS Services

How to Stop the NFS Services

How to Start the Automounter

How to Stop the Automounter

How to Select Different Versions of NFS on a Server

How to Select Different Versions of NFS on a Client

How to Use the mount Command to Select Different Versions of NFS on a Client

Administering the Secure NFS System

How to Set Up a Secure NFS Environment With DH Authentication

WebNFS Administration Tasks

Planning for WebNFS Access

How to Browse Using an NFS URL

How to Enable WebNFS Access Through a Firewall

Task Overview for Autofs Administration

Task Map for Autofs Administration

Using SMF Parameters to Configure Your Autofs Environment

How to Configure Your Autofs Environment Using SMF Parameters

Administrative Tasks Involving Maps

Modifying the Maps

How to Modify the Master Map

How to Modify Indirect Maps

How to Modify Direct Maps

Avoiding Mount-Point Conflicts

Accessing Non-NFS File Systems

How to Access CD-ROM Applications With Autofs

How to Access PC-DOS Data Diskettes With Autofs

Customizing the Automounter

Setting Up a Common View of /home

How to Set Up /home With Multiple Home Directory File Systems

How to Consolidate Project-Related Files Under /ws

How to Set Up Different Architectures to Access a Shared Namespace

How to Support Incompatible Client Operating System Versions

How to Replicate Shared Files Across Several Servers

How to Apply Autofs Security Restrictions

How to Use a Public File Handle With Autofs

How to Use NFS URLs With Autofs

Disabling Autofs Browsability

How to Completely Disable Autofs Browsability on a Single NFS Client

How to Disable Autofs Browsability for All Clients

How to Disable Autofs Browsability on a Selected File System

Administering NFS Referrals

How to Create and Access an NFS Referral

How to Remove an NFS Referral

Strategies for NFS Troubleshooting

NFS Troubleshooting Procedures

How to Check Connectivity on an NFS Client

How to Check the NFS Server Remotely

How to Verify the NFS Service on the Server

How to Restart NFS Services

Identifying Which Host Is Providing NFS File Service

How to Verify Options Used With the mount Command

Troubleshooting Autofs

Error Messages Generated by automount -v

Miscellaneous Error Messages

Other Errors With Autofs

NFS Error Messages

6.  Accessing Network File Systems (Reference)

Part III SLP Topics

7.  SLP (Overview)

8.  Planning and Enabling SLP (Tasks)

9.  Administering SLP (Tasks)

10.  Incorporating Legacy Services

11.  SLP (Reference)

Part IV Mail Services Topics

12.  Mail Services (Overview)

13.  Mail Services (Tasks)

14.  Mail Services (Reference)

Part V Serial Networking Topics

15.  Solaris PPP 4.0 (Overview)

16.  Planning for the PPP Link (Tasks)

17.  Setting Up a Dial-up PPP Link (Tasks)

18.  Setting Up a Leased-Line PPP Link (Tasks)

19.  Setting Up PPP Authentication (Tasks)

20.  Setting Up a PPPoE Tunnel (Tasks)

21.  Fixing Common PPP Problems (Tasks)

22.  Solaris PPP 4.0 (Reference)

23.  Migrating From Asynchronous Solaris PPP to Solaris PPP 4.0 (Tasks)

24.  UUCP (Overview)

25.  Administering UUCP (Tasks)

26.  UUCP (Reference)

Part VI Working With Remote Systems Topics

27.  Working With Remote Systems (Overview)

28.  Administering the FTP Server (Tasks)

29.  Accessing Remote Systems (Tasks)

Part VII Monitoring Network Services Topics

30.  Monitoring Network Performance (Tasks)

Glossary

Index

Automatic File System Sharing

In the Oracle Solaris 11 release, the share command creates permanent shares that are automatically shared during system startup. Unlike previous releases, you will not need to edit the /etc/dfs/dfstab file to record the information about shares for subsequent reboots. The /etc/dfs/dfstab is no longer used.

Table 5-1 File-System Sharing Task Map

Task
Description
For Instructions
Establish automatic file system sharing
Steps to configure a server so that file systems are automatically shared when the server is rebooted
Enable WebNFS
Steps to configure a server so that users can access files by using WebNFS
Enable NFS server logging
Steps to configure a server so that NFS logging is run on selected file systems

How to Set Up Automatic File-System Sharing

  1. Become an administrator.

    For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.

  2. Define the file systems to be shared.

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

    # share -F nfs -o specific-options pathname

    See the share_nfs(1M) man page for a complete list of the specific-options.

  3. Verify that the information is correct.

    Run the share command to check that the correct options are listed:

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

See Also

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, see Task Overview for Autofs Administration.

How to Enable WebNFS Access

Note the following:

See Planning for WebNFS Access for a list of issues to consider before starting the WebNFS service.

  1. Become an administrator.

    For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.

  2. Define the file systems to be shared by the WebNFS service.

    Use the share command to define each file system. The public and index tags that are shown in the following example are optional.

    # share -F nfs -o ro,public,index=index.html /export/ftp

    See the share_nfs(1M) man page for a complete list of options.

  3. Verify that the information is correct.

    Run the share command to check that the correct options are listed:

    # share -F nfs
    -        /export/share/man   sec=sys,ro   ""
    -        /usr/src     sec=sys,rw=eng   ""
    -        /export/ftp    sec=sys,ro,public,index=index.html  ""

How to Enable NFS Server Logging

  1. Become an administrator.

    For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.

  2. (Optional) Change file system configuration settings.

    In /etc/nfs/nfslog.conf, you can change the settings in one of two ways. You can edit the default settings for all file systems by changing the data that is associated with the global tag. Alternately, you can add a new tag for this file system. If these changes are not needed, you do not need to change this file. The format of /etc/nfs/nfslog.conf is described in the nfslog.conf(4) man page.

  3. Define the file systems to use NFS server logging.

    Use the share command to define each file system. The tag that is used with the log=tag option must be entered in /etc/nfs/nfslog.conf. This example uses the default settings in the global tag.

    # share -F nfs -ro,log=global /export/ftp
  4. Verify that the information is correct.

    Run the share command to check that the correct options are listed:

    # share -F nfs
    -        /export/share/man   sec=sys,ro   ""
    -        /usr/src     sec=sys,rw=eng   ""
    -        /export/ftp    sec=sys,ro,public,log=global  ""
  5. Check if nfslogd, the NFS log daemon, is running.
    # ps -ef | grep nfslogd
  6. (Optional) Start nfslogd, if it is not running.
    # svcadm restart network/nfs/server:default