NFS Services Administrator Guide (5900-3045, March 2013)
Contents
Preface: About This Document ........................................................................7
Intended Audience....................................................................................................................7
Publishing History.....................................................................................................................7
What's in This document...........................................................................................................7
Typographical Conventions...................................................................................................8
HP Encourages Your Comments..................................................................................................8
1 Introduction ..............................................................................................9
ONC Services Overview...........................................................................................................9
Network File System (NFS).........................................................................................................9
How NFS works.................................................................................................................10
NFS Services................................................................................................................10
NFS Shared Filesystems..................................................................................................10
NFS Servers and Clients.................................................................................................10
New Features in NFS..............................................................................................................10
NFS Version 4 Protocol (NFSv4)...........................................................................................10
Sharing and Unsharing Directories.......................................................................................13
Mounting and Unmounting Directories..................................................................................14
Support for WebNFS..........................................................................................................15
Secure Sharing of Directories...............................................................................................15
Client Failover...................................................................................................................15
Replicated Filesystems....................................................................................................16
Enhanced NFS Logging......................................................................................................16
IPv6 Support.....................................................................................................................16
2 Configuring and Administering NFS Services...............................................17
Prerequisites ..........................................................................................................................17
Verifying Network Connectivity............................................................................................17
Verifying User IDs and Group IDs Setup................................................................................17
Verifying Group Restrictions ................................................................................................18
Configuring and Administering an NFS Server...........................................................................19
NFS Configuration Files and Daemons..................................................................................19
Configuring the NFSv4 Server Protocol Version .....................................................................20
Enabling an NFS Server ....................................................................................................20
Sharing Directories with NFS Clients.....................................................................................21
Sharing a directory with NFS Clients...............................................................................22
Examples for Sharing directories ....................................................................................23
Secure Sharing of Directories ..............................................................................................24
Secure NFS Setup with Kerberos......................................................................................25
Secure NFS Client Configuration with Kerberos.............................................................27
Accessing Shared NFS Directories across a Firewall...............................................................28
Sharing directories across a firewall without fixed port numbers (NFSv2 and NFSv3)..............29
Sharing directories across a firewall using fixed port numbers in the nfs file...........................29
Sharing directories across a firewall using the NFSv4 protocol............................................30
Sharing directories across a firewall using the WebNFS Feature..........................................30
How WebNFS works................................................................................................30
Configuring an NFS Server for use by a PC NFS client............................................................31
Unsharing (Removing) a Shared Directory.............................................................................32
Disabling the NFS Server ...................................................................................................32
Configuring and Administering NFS Clients ...............................................................................33
NFS Client Configuration Files and Daemons.........................................................................33
Configuring the NFSv4 Client Protocol Version.......................................................................34
Contents 3