NFS Services Administrator's Guide (B1031-90072, March 2011)
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 17)
• “Configuring and Administering an NFS Server” (page 19)
• “Configuring and Administering NFS Clients ” (page 32)
• “Configuring and Using NFS Netgroups” (page 41)
• “Configuring RPC-based Services” (page 45)
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.
NOTE: NFSv4 uses string identifiers that map to user IDs and group IDs in the standard integer
format. For more information on string identifiers supported on NFSv4, see “New Features in NFS”
(page 10).
Consider the following points when you set user IDs and group IDs:
• Each user must have the same user ID on all systems where that user has an account.
• Each group has the same group ID on all systems where that group exists.
• No two users on the network have the same user ID.
• No two groups on the network have the same group ID.
Prerequisites 17