Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a Workgroup
Sharing Files and Applications via NFS and ftp
Chapter 4396
b. Run the nfs.server script:
/sbin/init.d/nfs.server start
Step 3. Edit /etc/exports, adding an entry for each directory that is to be
exported. The entry identifies the directory and (optionally) the systems
that can import it. The entry should look something like this:
/opt/netscape
async,anon=65534,access=wsb2600:appserver:wsb2600:wszx6
NOTE If no systems are specified for a particular file system, then all systems
have permission to import the file system; if any systems are listed, then
only those systems can import the file system.
See exports (4) for more information.
Step 4. Force the NFS daemon (nfsd) to re-read /etc/exports.
/usr/sbin/exportfs -a
Importing a File System (HP-UX to HP-UX)
Before you begin, you need to:
• Check that the directory you are importing to either:
— Does not already exist on the local (client) system; or
— Is empty; or
— Contains data that will not be needed so long as the remote
directory is mounted.
In this case, make sure that no one has open files in the local
directory and that it is not anyone’s current working directory.
For example, if you intend to import to a directory named
/mydir, on the client, enter:
fuser -cu /mydir