Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a Workgroup
Sharing Files and Applications via NFS and ftp
Chapter 4 395
Exporting a File System (HP-UX to HP-UX)
Use either of the following procedures to set up NFS exports on the
server.
“Using SAM to Export a File System” on page 395
“Using the Command Line to Export a File System” on page 395
Using SAM to
Export a File
System
Step 1. Log in to the server as root.
Step 2. Run SAM: enter
sam
on the command line.
Step 3. Enable NFS if necessary:
Choose Networking and Communications/Network Services/NFS
Server. Pull down the Actions menu and choose Enable.
Step 4. Choose Networking and Communications/Networked File
Systems/Exported Local File Systems. Pull down the Actions menu
and choose Add Exported File System
Step 5. Fill in the fields identifying the file systems to be exported and the
systems that can import them. Use SAM’s online help if necessary.
The exported file system should now be listed in the /etc/exports file.
Using the
Command Line to
Export a File
System
Step 1. Log into the server as root.
Step 2. If the system is not already configured as an NFS server:
a. Edit /etc/rc.config.d/nfsconf, changing the values for
NFS_SERVER and START_MOUNTD to 1.