NFS Administration Guide
  Search only this book
Download this book in PDF

............................Contents


1. Solaris NFS Environment
1
..An Introduction to Networking 1
....Protocol Layers 1
....OSI Reference Model 2
....Network Layer 3
....Transport Layer 4
........TCP Protocol 4
........UDP Protocol 4
....Application Layer 4
..About the NFS Environment 5
....NFS Version 2 5
....NFS Version 3 6
....NFS ACL Support 6
....NFS over TCP 7
....Network Lock Manager 7
..NFS Servers and Clients 7
..NFS File Systems 8
..Autofs 8
....Autofs Features 9

2. NFS Administration
11
..NFS Files 12
..NFS Daemons 13
..NFS Commands 14
....mount 15
........mount Options for NFS File Systems 16
........Additional mount Options 18
........Using the mount Command 19
....umount 20
........Using the umount Command 20
....mountall 21
........Using the mountall Command 21
....umountall 21
........Using the umountall Command 22
....share 22
........share Options 23
........share Options for NFS File Systems 23
........Using the share Command 25
....unshare 26
........Using the unshare Command 26
....shareall 26
........Using the shareall Command 27
....unshareall 27
........Using the unshareall Command 27
....showmount 27
........Using the showmount Command 28
....setmnt 28
..Other Useful Commands 28
....nfsstat 29
........Using the nfsstat Command 30
....pstack 31
........Using the pstack Command 31
....rpcinfo 32
........Using the rpcinfo Command 33
....snoop 34
....truss 35
........Using the truss Command 35
..Automatic File System Sharing 35
..Mounting at Boot Time 36
........Example of a vfstab entry 37
..Mounting on the Fly 37
..Mounting with the Automounter 38

3. Setting Up and Maintaining NFS Security
39
..Secure NFS 39
..Secure RPC 40
....DES Authentication 41
....KERB Authentication 42
..AUTH_DES Client-Server Session 42
..Administering Secure NFS 47
....· How to Set Up Secure NFS 47

4. NFS Troubleshooting
51
..Strategies for NFS Troubleshooting 51
..NFS Troubleshooting Procedures 53
....· How to Check Connectivity on a NFS Client 53
....· How to Remotely Check the NFS Server 54
....· How to Verify the NFS Service on the Server 55
....· How to Restart NFS Services 57
....· How to Warm Start rpcbind 58
..Common NFS Error Messages 58

5. Using Autofs
61
..How Autofs Works 61
..Autofs Programs 64
....automount 64
....automountd 64
..Setting Up Autofs Maps 65
....Master Maps 65
....Direct Maps 66
....Indirect Maps 67
....How Autofs Navigates Through the Network (Maps) 69
....How Autofs Starts the Navigation Process (Master Map) . 70
........Mount Point /- 70
........Mount Point /home 71
........Mount Point /net 71
........The Mount Process 71
....Multiple Mounts 73
....How Autofs Selects the Nearest Read-Only Files for Clients
.......(Multiple Locations) 76
....Variables in a Map Entry 78
....Maps That Refer to Other Maps 79
....Modifying How Autofs Navigates the Network (Modifying
.......Maps) 81
....Administrative Tasks Involving Maps 81
....Modifying the Maps 82
....Avoiding Mount-Point Conflicts 84
....Default Autofs Behavior 84
..Autofs Reference 86
....Metacharacters 86
....Special Characters 87
....Accessing Non-NFS File Systems 88
....Accessing NFS File Systems Using CacheFS 89
..Common Tasks and Procedures 89
....How to Set Up Different Architectures to Access a Shared Name
.......Space 90
...Troubleshooting Autofs 97
......Error Messages Generated by automount -v 97
......Miscellaneous Error Messages 98
......Other Errors with Autofs 100

A. NFS Tunables
101
......· How to Set the Value of a Kernel Parameter 105

Index
107