NFS Services Administrator's Guide (B.11.31.03) August 2008
2 Configuring and Administering NFS Services
This chapter describes how to configure and administer an HP-UX system as an NFS
server or an NFS client, using the command-line interface.
An NFS server exports or shares its local filesystems and directories with NFS clients.
An >NFS client mounts the files and directories exported or shared by the NFS servers.
NFS-mounted directories and filesystems appear as a part of the NFS client’s local
filesystem.
This chapter addresses the following topics:
• “Prerequisites ” (page 25)
• “Configuring and Administering an NFS Server” (page 27)
• “Configuring and Administering NFS Clients ” (page 47)
• “Configuring and Using NFS Netgroups” (page 59)
• “Configuring RPC-based Services” (page 64)
Prerequisites
Before you configure your system as an NFS server or as an NFS client, perform the
following prerequisite checks:
• Verify network connectivity
• Verify user IDs and group IDs setup
• Verify group restrictions
Verifying Network Connectivity
Before you configure NFS, you must have already installed and configured the network
hardware and software on all the systems that use NFS. For information on installing
and configuring the network hardware and software, see the following documents:
• HP-UX LAN Administrator’s Guide (B2355-90796)
• Ethernet Configuration and Verification (5991-5954)
To check the network connections between the server and clients, use the
/usr/sbin/ping command to verify network connectivity between your proposed
NFS client and server systems.
Verifying User IDs and Group IDs Setup
When users request NFS access to remote files, their user IDs and group IDs are used
to check file ownership and permissions.
Prerequisites 25