NFS Services Administrator's Guide

Configuring and Administering NFS Services
Configuring and Administering an NFS Server
Chapter 2 51
NOTE Use the bdf command to determine whether your filesystems are on
different disks or logical volumes. Each entry in the bdf output
represents a separate disk or volume that requires its own entry in
the /etc/dfs/dfstab file, if shared. For more information on the
bdf command, see bdf (1M).
When you share a directory, the share options that restrict access to
a shared directory are applied, in addition to the regular HP-UX
permissions on that directory.
For example, if only the owner of a file has write permission, others
cannot write to the file even if it is shared with read and write
permissions.
You can also specify the access permissions on the NFS client, when
a directory is mounted. If these permissions differ from the
permissions for the shared directory on the NFS server, the more
restrictive permissions are used.
For example, consider an NFS client that mounts a directory with
read and write permissions while the directory is shared by the NFS
server with read permission. Read permissions being more
restrictive, the NFS client only has read permission.
Exercise caution when sharing a directory that contains a symbolic
link, which refers to data outside the NFS mounted directory.
Once the directory is mounted on an NFS client, the symbolic link is
resolved locally on the client.
Figure 2-1 depicts symbolic links in NFS mounts. The destination of the
symbolic link exists on the NFS server, but does not exist on the NFS
client. This results in an error message.