146

Managing the NFS Service

Network File System (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 is started automatically 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.

Checking NFS Service Status

To see if NFS service and related processes are running:

$ sudo serveradmin status nfs

To see complete NFS status:

$ sudo serveradmin fullstatus nfs

Viewing NFS Service Settings

To list all NFS service settings:

$ sudo serveradmin settings nfs

To list a particular setting:

$ sudo serveradmin settings nfs:setting

Changing NFS Service Settings

Use the following parameters with the serveradmin tool to change settings for the NFS service.

Parameter (nfs:)

Description

nbDaemons

To reduce the number of daemons, you must restart the server

 

after changing this value.

 

Default = 6

 

 

useTCP

You must restart the server after changing this value.

 

Default = yes

 

 

useUDP

You must restart the server after changing this value.

 

Default = yes

 

 

Chapter 9 Working with File Services

Page 146
Image 146
Apple Mac OS X Server manual Managing the NFS Service, Starting and Stopping NFS Service, Checking NFS Service Status