Specifications

Chapter 9 Working with File Services 151
Managing NFS Service
NFS is a file service used to provide file sharing to UNIX and Linux systems. With NFS,
Mac OS X Server can host data for UNIX application servers and provide integration
with enterprise UNIX storage devices. Support for NFS file locking prevents overwriting
files while others are accessing them.
NFS service can be used to mount NFS volumes and reshare them over AFP with
Mac OS X and Mac OS 9 clients. This allows client computers to access NFS volumes
using the secure authentication and service discovery provided by AFP service.
Starting and Stopping NFS Service
NFS service starts when a share point is exported using NFS. The NFS daemons that
satisfy client requests continue to run until there are no more NFS exports and the
server is restarted.
Viewing NFS Service Status
To see if the service and related processes are running:
$ sudo serveradmin status nfs
To see complete status:
$ sudo serveradmin fullstatus nfs
Viewing NFS Service Settings
To list a setting:
$ sudo serveradmin settings nfs:
setting
To list all settings:
$ sudo serveradmin settings nfs
Changing NFS Service Settings
To change settings for the NFS service, use the following parameters with the
serveradmin tool.
Parameter (nfs:) Description
nbDaemons To reduce the number of daemons, restart the server after
changing this value.
Default =
6.
useTCP Restart the server after changing this value.
Default =
yes.
useUDP Restart the server after changing this value.
Default =
yes.