setoncenv.1m (2010 09)
s
setoncenv(1M) setoncenv(1M)
NFSD_DEVICE [device_name]
Start nfsd on the transport specified by the given device only. Equivalent to the
-t
option in nfsd. Mutually exclusive of NFSD_PROTOCOL.
Either NFSD_DEVICE or
NFSD_PROTOCOL must be commented out.
NFSD_LISTEN_BACKLOG
[number]
Set the connection queue length for NFS over a connection-oriented transport. The
default value is 32, meaning 32 entries in the queue. Equivalent to the
-l option in
nfsd.
NFSD_MAX_CONNECTIONS
[number]
Sets the maximum number of concurrent connection-oriented connections. This variable
is read every time
nfsd is run.
NFSD_PROTOCOL [string]
Start nfsd over the specified protocol only. Equivalent to the
-p option in nfsd. ALL
is equivalent to the -a option on the
nfsd command line. Mutually exclusive of
NFSD_DEVICE. Either NFSD_DEVICE or NFSD_PROTOCOL
must be commented out.
For the UDP protocol, only version 2 and version 3 NFS service is established. NFS Ver-
sion 4 is not supported for the UDP protocol.
NFSD_SERVER [number]
The maximum number of concurrent NFS requests. Equivalent to last numeric argu-
ment on the nfsd command line. The default is 16.
NFSMAPID_DOMAIN [
domain_string]
By default, the
nfsmapid uses the DNS domain of the system. This setting overrides
the default. This domain is used for identifying user and group attribute strings in the
NFS Version 4 protocol. Clients and servers must match with this domain for operations
to proceed normally. This variable only applies to NFS Version 4.
PCNFS_SERVER [0 | 1]
Used to enable or disable the pcnfsd daemon by /sbin/init.d/nfs.server
.
This variable will be obsolete in a future release.
START_MOUNTD [0 | 1]
Used to enable or disable the rpc.mountd daemon by /sbin/init.d/nfs.server
.
This variable will be obsolete in a future release.
Variable Names for the NFS Logging Subsystem
The
setoncenv command recognizes the following configuration variable names for the NFS logging
subsystem:
CYCLE_FREQUENCY [
number]
Specifies how often, in hours, the log files are cycled. This variable is used to insure that
the log files do not get too large.
IDLE_TIME [number]
Specifies the amount of time, in seconds, the daemon, nfslogd should sleep while wait-
ing for more information to be placed in the buffer file. This variable also determines
how often the configuration file will be re-read.
MAPPING_UPDATE_INTERVAL [number]
Specifies the time interval, in seconds, between updates of the records in the file handle
to path mapping tables. Instead of updating the access time (atime) of a record each time
that record is accessed, it is only updated if it has aged based on this parameter. The
record access time is used by the pruning routine to determine whether the record should
be removed from the database.
MAX_LOGS_PRESERVE [number]
The nfslogd daemon periodically cycles its logs. This variable specifies the maximum
number of log files to save. When MAX_LOGS_PRESERVE is reached, the oldest files will
be overwritten as new log files are created. These files will be saved with a numbered
extension, beginning with filename.0. The oldest file will have the highest numbered
extension up to the value configured for MAX_LOGS_PRESERVE.
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5