[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4


nfsd Daemon

Purpose

Services client requests for file system operations.

Syntax

/usr/sbin/nfsd-a -p tcp | udp } ] [  -c max_connections ] [  -w max_write_size ] [  -r max_read_size ] nservers

Description

The nfsd daemon runs on a server and handles client requests for file system operations.

Each daemon handles one request at a time. Assign the maximum number of threads based on the load you expect the server to handle.

The nfsd daemon is started and stopped with the following System Resource Controller (SRC) commands:

startsrc -s nfsd

stopsrc -s nfsd

To change the number of daemons started with the SRC commands, use the chnfs command. To change the parameters of an SRC controlled daemon, use the chssys command.

Flags


-a Specifies UDP and TCP transport will be serviced. This flag only applies to AIX 4.2.1 or later.
-c max_connections Specifies the maximum number of TCP connections allowed at the NFS server. This flag only applies to AIX 4.2.1 or later.
nservers Specifies the maximum number of concurrent requests that the NFS server can handle. This concurrency is achieved by the number of nservers thread created in the kernel as needed. This flag only applies to AIX 4.2.1 or later.
-p tcp or -p udp Transports both UDP and TCP to the NFS clients (default). You can only specify UDP or TCP. For example, if -p tcp is used, the NFS server only accepts NFS client requests using the TCP protocol. This flag only applies to AIX 4.2.1 or later.
-r max_read_size Specifies for NFS Version 3, the maximum size allowed for file read requests. The default and maximum allowed is 32K. This flag only applies to AIX 4.2.1 or later.
-w max_write_size Specifies for NFS Version 3, the maximum size allowed for file write requests. The default and maximum allowed is 32K. This flag only applies to AIX 4.2.1 or later.

Parameter

Parameter that can be changed:

NumberOfNfsds Specifies the number of daemons to start. This parameter does not apply to AIX 4.2.1 or later.

Examples

  1. To start nfsd daemons using an src command, enter:

    startsrc -s nfsd
    

    In this example, the startsrc -s nfsd entry starts the number of daemons specified in the script.

  2. To change the number of daemons running on your system, enter:

    chssys -s nfsd -a 6
    

    In this example, the chssys command changes the number of nfsd daemons running on your system to 6.

Related Information

The chnfs command, chssys command.

The biod daemon, mountd daemon.

Network File System (NFS) Overview for System Management in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.

System Resource Controller Overview in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.

List of NFS Commands.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]