Start

NFS ManagerSet Defaults for NFS Mounts

In addition to the settings per each NFS mount, Mac OS X is supporting general settings which take effect for all NFS mounts, i.e. they affect the whole NFS client. To review or change these settings, select the item NFS Client > Configuration on the left side of the control window. The configuration pane NFS Client Options will be displayed.

General settings

The upper part of the configuration pane displays general settings:

Allow to request that server operations should be performed asynchronously: When no checkmark is set at that option, any attempt to establish an asynchronous connection to an NFS server (see the mount option Don't enforce server operations to be performed asynchronously) will be ignored.

Note: By intention, NFS Manager does not offer a mount option to enforce asynchronous mounts. In theory, this option can be set via command-line or by the Directory Setup application. The client setting mentioned here is an additional blockade the system adminstrator can use to generally prevent usage of this option.

Maximum number of client threads (nfsiod): This option controls on how many worker threads the administrative tasks for current mounts to NFS servers can be distributed.

Timeout for caching permission related information: The NFS client uses a buffer (cache) to hold user and group information as well as permission information for some time in main memory until it refetches the data from the operating system or server. The value specifies the maximum time in seconds how long cached data may assumed to be valid until it expires and has to be discarded.

Time before issuing “server down” warning: When the network connection to a server is lost, or the server is failing, the operating system will display a warning. This value specifies the time in seconds the system should wait until showing the first warning message.

Time before issuing subsequent “server down” warning: If a failing server connection doesn't recover, the operating system may show subsequent warnings after the initial message. The time interval for subsequent warnings can be set by this value.

Advertized standard size of buffer for file info data: If the client calls the UNIX functions stat or statfs to request file or file system information from an NFS mount, a recommended buffer size to transfer the requested data has to be negotiated between client and server. This value is the initial default size in bytes the client will send as recommended size to the server.

Maximum rate of file info requests to send per second: This value specifies how often per second the client is allowed to call the statfs function to request file system information for an NFS mount. If the number is exceeded, the request will not be forwarded to the server but instead be answered using cached information.

Presets for mount options

Mac OS X can define default settings for options which work as a preset for all NFS mounts (manual ones and automounts), so it will no longer be necessary to configure options for each single connection. Please note the following:

To set or change the default options press the button Change options…. The usual panel to define mount options will open. By selecting or deselecting options you can define the desired default which should be taken as preset for this computer. If you like to completely remove all preset options, hereby returning to the “empty” standard configuration, press the button Remove all overrides.

Save and Revert

To save your changes, press the button Apply at the bottom right corner. If necessary, Mac OS X will ask for an administrator password. Changes may not take effect immediately. Depending on settings, you'll have to perform a restart of the operating system to ensure that all changes become active.

By pressing Revert all edited changes will be discarded and the previously saved configuration will be restored. You can undo all changes you have made to client settings and preset options by pressing the button Reset to defaults.