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