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 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 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 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
NFS referrals are a way for an NFSv4 server to point to file systems located on other NFSv4 servers, as a way of connecting multiple NFSv4 servers into a uniform namespace.
Add the referral on an NFS-shared file system, pointing to one or more existing NFS-shared file systems.
server1% nfsref add /share/docs server2:/usr/local/docs server3:/tank/docs Created reparse point /share/docs
server1% nfsref lookup /share/docs /share/docs points to: server2:/usr/local/docs server3:/tank/docs
client1% pfexec mount server1:/share/docs /mnt
client1% cd /mnt/docs client1% df -k . /mnt/docs (server2:/usr/local/docs):10372284465 blocks 10372284465 files
Example 2-4 Modifying an Existing Referral
If you wanted to add another file system, such as server4:/tank/docs to the existing referral, you would enter the command from step 2 above with the new file system.
server1% nfsref add /share/docs server2:/usr/local/docs server3:/tank/docs server4:/tank/docs
The add subcommand simply replaces the information in the current referral with the new information from the command. The add subcommand is how you would modify the file systems associated with an existing referral.
Follow this procedure to remove an NFS referral.
server1% nfsref remove /share/docs Removed svc_type 'nfs-basic' from /share/docs