Information Technology Reference
In-Depth Information
Each server has one public file handle that is associated with the root file sys-
tem of the server. NFS URLs are relative to the public file handle. For exam-
ple, accessing the target directory under the /usr/data shared resource on
the host server requires using the nfs://server/usr/data/target NFS
URL. However, if the public option is specified when the /usr/data direc-
tory is shared, the public file handle is associated with the /usr/data direc-
tory, and this would allow using the nfs://server/target NFS URL to
access the same data.
The second option is the index option. This is used to specify a file that con-
tains information that should be displayed instead of a listing of the directo-
ry. The following listing shows using the share command to enable
read/write NFS and WebNFS access relative to the /export/home directory:
# share -F nfs -o rw,public,index=index.html /export/home
#
NFS Logging
If enabled, the operations of a NFS server can be stored in a log. This is pro-
vided by the NFS Logging Daemon ( /usr/lib/nfs/nfslogd ). The operation
of the daemon can be configured using the NFS Logging Daemon configu-
ration file ( /etc/default/nfslogd ). The location of the NFS server logs and
the nfslogd working files are specified by the NFS server logging configura-
tion file ( /etc/nfs/nfslog.conf ).
NFS Logging Daemon
The NFS Logging Daemon monitors and analyzes Remote Procedure Call
(RPC) operations processed by the NFS server. For file systems exported
(shared) with logging enabled, each RPC operation is stored in the NFS log
file as a record.
Each record consists of the following:
Time stamp
IP address or hostname of client
File or directory affected by operation
Type of operation: input, output, make directory, remove directory, or
remove file
Search WWH ::




Custom Search