NFS Services Administrator's Guide (B.11.31.05) September 2009

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