NFS Services Administrator's Guide (5900-2134, March 2012)

Deciding Between Standard-Mounted Directories and Automounted Directories..........................34
Enabling an NFS Client .....................................................................................................34
Mounting Remote Directories ..............................................................................................34
Mounting a Remote Directory on an NFS client.................................................................35
Enabling Client-Side Failover...............................................................................................36
Examples of NFS Mounts ..............................................................................................36
Secure Mounting of Directories............................................................................................38
An Example for Securely Mounting a directory..................................................................38
Changing the Default Mount Options...................................................................................38
Unmounting (Removing) a Mounted Directory........................................................................38
Disabling NFS Client Capability..........................................................................................39
NFS Client and Server Transport Connections.............................................................................39
Supporting 1MB Transfer for TCP mounts..............................................................................40
Changes to the NFS Server Daemon....................................................................................40
Configuring and Using NFS Netgroups.....................................................................................41
Creating Netgroups in the /etc/netgroup File........................................................................41
Netgroup Examples.......................................................................................................42
Using Netgroups in Configuration Files.................................................................................43
Using Netgroups in the /etc/dfs/dfstab File.....................................................................43
Using Netgroups in the /etc/hosts.equiv or $HOME/.rhosts File.........................................43
Using Netgroups in the /etc/passwd File.........................................................................44
Using Netgroups in the /etc/group File...........................................................................44
Configuring RPC-based Services...............................................................................................45
Enabling Other RPC Services...............................................................................................45
Restricting Access to RPC-based Services...............................................................................46
Examples from /var/adm/inetd.sec.................................................................................46
3 Configuring and Administering AutoFS........................................................47
Overview..............................................................................................................................47
AutoFS Filesystem...............................................................................................................47
The automount Command...................................................................................................48
The automountd Daemon ...................................................................................................48
Maps Overview......................................................................................................................49
Features ...............................................................................................................................50
On-Demand Mounting........................................................................................................50
Browsability for Indirect Maps.............................................................................................51
Concurrent Mount And Unmount..........................................................................................51
NFS Loopback Mount.........................................................................................................52
Client-side Failover Support.................................................................................................52
Secure NFS Support...........................................................................................................52
Reliable NFS Ping..............................................................................................................52
Supported Filesystems.............................................................................................................52
Supported Backends (Map Locations)........................................................................................53
Enabling LDAP Support for AutoFS.......................................................................................53
AutoFS Configuration Prerequisites............................................................................................54
Updating from Automounter to AutoFS.......................................................................................55
AutoFS Configuration Changes.................................................................................................56
Configuring AutoFS Using the nfsconf File.............................................................................56
Configuring AutoFS Using the/etc/default/autofs File.............................................................57
Enabling AutoFS.....................................................................................................................57
Notes on AutoFS Master Map..................................................................................................57
Deciding Between Direct and Indirect Automounts.......................................................................58
Configuring AutoFS Direct and Indirect Mounts...........................................................................59
Automounting a Remote Directory Using a Direct Map............................................................59
Notes on Direct Maps....................................................................................................60
4 Contents