Skip Navigation Links | |
Exit Print View | |
Managing Network File Systems in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
1. Managing Network File Systems (Overview)
2. Network File System Administration (Tasks)
How to Mount a File System at Boot Time
How to Mount a File System From the Command Line
How to Mount All File Systems from a 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 FedFS Server
How to Display Information About File Systems Available for Mounting
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
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
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
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
How to Create and Access an NFS Referral
How to Create an Namespace Database (NSDB)
How to Use a Secured Connection to the NSDB
How to Create a FedFS 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
Identifying Which Host Is Providing NFS File Service
How to Verify Options Used With the mount Command
Error Messages Generated by automount -v
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 2-1 File-System Sharing Task Map
|
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
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.
Run the share command to check that the correct options are listed:
# 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
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.
Note the following:
By default all file systems that are available for NFS mounting are automatically available for WebNFS access. The only condition that requires the use of this procedure is one of the following:
To allow NFS mounting on a server that does not currently allow NFS mounting
To reset the public file handle to shorten NFS URLs by using the public option with the share command
To force a specific HTML file to be loaded by using the index option with the share command
You can also use the sharectl utility to configure file-sharing protocols, such as NFS. See the sharectl(1M) man page and sharectl Command.
See Planning for WebNFS Access for a list of issues to consider before starting the WebNFS service.
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
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.
Run the share command to check that the correct options are listed:
# share -F nfs export_share_man /export/share/man sec=sys,ro usr_share_src /usr/src sec=sys,rw=eng export_ftp /export/ftp sec=sys,ro,public,index=index.html
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.
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.
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
Run the share command to check that the correct options are listed:
# share -F nfs export_share_man /export/share/man sec=sys,ro usr_share_src /usr/src sec=sys,rw=eng export_ftp /export/ftp public,log=global,sec=sys,ro
# ps -ef | grep nfslogd
# svcadm restart network/nfs/server:default