NFS Services Administrator's Guide (762805-001, March 2014)
Configuring the NFSv4 client protocol version........................................................................35
Deciding between standard-mounted directories and automounted directories............................36
Enabling an NFS client ......................................................................................................36
Mounting remote directories ...............................................................................................36
Mounting a remote directory on an NFS client..................................................................37
Enabling Client-Side failover................................................................................................38
Examples of NFS Mounts ..............................................................................................38
Secure mounting of directories.............................................................................................40
An example for securely mounting a directory...................................................................40
Changing the default mount options.....................................................................................40
Unmounting (Removing) a mounted directory.........................................................................40
Disabling NFS client capability............................................................................................41
NFS Client and server transport connections...............................................................................41
Supporting 1MB transfer for TCP mounts...............................................................................42
Changes to the NFS server daemon.....................................................................................42
Configuring and using NFS Netgroups......................................................................................43
Creating Netgroups in the /etc/netgroup file.........................................................................43
Netgroup Examples.......................................................................................................44
Using Netgroups in configuration files..................................................................................45
Using Netgroups in the /etc/dfs/dfstab file......................................................................45
Using Netgroups in the /etc/hosts.equiv or $HOME/.rhosts file..........................................45
Using Netgroups in the /etc/passwd file..........................................................................46
Using Netgroups in the /etc/group file............................................................................46
Configuring RPC-based services................................................................................................47
Enabling other RPC services................................................................................................47
Restricting access to RPC-based services................................................................................48
Examples from /var/adm/inetd.sec.................................................................................48
3 Configuring and administering AutoFS........................................................49
Overview..............................................................................................................................49
AutoFS filesystem...............................................................................................................49
The automount command....................................................................................................50
The automountd daemon ...................................................................................................50
Maps overview.......................................................................................................................51
Features ...............................................................................................................................52
On-Demand mounting........................................................................................................52
Browsability for indirect maps..............................................................................................53
Concurrent mount and unmount...........................................................................................53
NFS Loopback mount.........................................................................................................54
Client-side failover support..................................................................................................54
Secure NFS support...........................................................................................................54
Reliable NFS ping..............................................................................................................54
Supported filesystems..............................................................................................................54
Supported backends (Map Locations)........................................................................................55
Enabling LDAP support for AutoFS........................................................................................55
AutoFS configuration prerequisites............................................................................................56
Updating from automounter to AutoFS.......................................................................................57
AutoFS configuration changes..................................................................................................58
Configuring AutoFS using the nfsconf file...............................................................................58
Configuring AutoFS using the/etc/default/autofs file..............................................................59
Enabling AutoFS.....................................................................................................................59
Notes on AutoFS master map...................................................................................................59
Deciding between direct and indirect automounts.......................................................................60
Configuring AutoFS direct and indirect mounts............................................................................61
Automounting a remote directory using a direct map..............................................................61
4 Contents