Part I Network Services Topics
Part II Accessing Network File Systems Topics
4. Managing Network File Systems (Overview)
5. Network File System Administration (Tasks)
How to Set Up Automatic File-System Sharing
How to Enable NFS Server Logging
How to Mount a File System at Boot Time
How to Mount a File System From the Command Line
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
How to Select Different Versions of NFS on a Server
How to Select Different Versions of NFS on a Client by Modifying the /etc/default/nfs File
How to Use the Command Line 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
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 the /etc/default/autofs File to Configure Your autofs Environment
How to Use the /etc/default/autofs File
Administrative Tasks Involving 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
Accessing NFS File Systems Using CacheFS
How to Access NFS File Systems by Using CacheFS
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
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
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
Identifying Which Host Is Providing NFS File Service
How to Verify Options Used With the mount Command
Error Messages Generated by automount -v
6. Accessing Network File Systems (Reference)
8. Planning and Enabling SLP (Tasks)
10. Incorporating Legacy Services
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)
25. Administering UUCP (Tasks)
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
This section describes some of the tasks that are necessary to do the following:
Start and stop the NFS server
Start and stop the automounter
Select a different version of NFS
Note - Starting in the Solaris 10 release, NFS version 4 is the default.
Table 5-3 Task Map for NFS Services
|
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Type the following command.
# svcadm enable network/nfs/server
This command enables the NFS service.
Note - Starting with the Solaris 9 release, the NFS server starts automatically when you boot the system. Additionally, any time after the system has been booted, the NFS service daemons can be automatically enabled by sharing the NFS file system. See How to Set Up Automatic File-System Sharing.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Type the following command.
# svcadm disable network/nfs/server
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Type the following command:
# svcadm enable system/filesystem/autofs
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Type the following command:
# svcadm disable system/filesystem/autofs
If you choose not to use NFS version 4, use this procedure.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
For example, if you want the server to provide only version 3, set the values for both NFS_SERVER_VERSMAX and NFS_SERVER_VERSMIN to 3. For a list of keywords and their values, refer to Keywords for the /etc/default/nfs File.
NFS_SERVER_VERSMAX=value NFS_SERVER_VERSMIN=value
Provide the version number.
Note - By default, these lines are commented. Remember to remove the pound (#) sign, also.
For example, if you want the server to provide only version 3, set the values for both the server_vermax and server_versmin to 3 as shown below:
# sharectl set -p server_vermax=3 nfs # sharectl set -p server_vermin=3 nfs
NFS_SERVER_DELEGATION=off
Note - In NFS version 4, server delegation is enabled by default. For more information, see Delegation in NFS Version 4.
NFSMAPID_DOMAIN=my.comany.com
Provide the common domain
For more information, refer to nfsmapid Daemon.
Type the following command:
# svcs network/nfs/server
This command reports whether the NFS server service is online or disabled.
If you discovered from the previous step that the NFS service is online, type the following command to disable the service.
# svcadm disable network/nfs/server
Note - If you need to configure your NFS service, refer to How to Set Up Automatic File-System Sharing.
Type the following command to enable the service.
# svcadm enable network/nfs/server
The following procedure shows you how to control which version of NFS is used on the client by modifying the /etc/default/nfs file. If you prefer to use the command line, refer to How to Use the Command Line to Select Different Versions of NFS on a Client.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
For example, if you want only version 3 on the client, set the values for both NFS_CLIENT_VERSMAX and NFS_CLIENT_VERSMIN to 3. For a list of keywords and their values, refer to Keywords for the /etc/default/nfs File.
NFS_CLIENT_VERSMAX=value NFS_CLIENT_VERSMIN=value
Provide the version number.
Note - By default, these lines are commented. Remember to remove the pound (#) sign, also.
Type the following command:
# mount server-name:/share-point /local-dir
Provide the name of the server.
Provide the path of the remote directory to be shared.
Provide the path of the local mount point.
The following procedure shows you how to use the command line to control which version of NFS is used on a client for a particular mount. If you prefer to modify the /etc/default/nfs file, see How to Select Different Versions of NFS on a Client by Modifying the /etc/default/nfs File.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Type the following command:
# mount -o vers=value server-name:/share-point /local-dir
Provide the version number.
Provide the name of the server.
Provide the path of the remote directory to be shared.
Provide the path of the local mount point.
Note - This command uses the NFS protocol to mount the remote directory and overrides the client settings in the /etc/default/nfs file.