xref: /titanic_41/usr/src/cmd/fs.d/nfs/etc/nfs.dfl (revision 47644099886aa8d3f43120b9eede3044342be473)
1# ident	"%Z%%M%	%I%	%E% SMI"
2#
3# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
4# Use is subject to license terms.
5#
6# CDDL HEADER START
7#
8# The contents of this file are subject to the terms of the
9# Common Development and Distribution License, Version 1.0 only
10# (the "License").  You may not use this file except in compliance
11# with the License.
12#
13# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14# or http://www.opensolaris.org/os/licensing.
15# See the License for the specific language governing permissions
16# and limitations under the License.
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20# If applicable, add the following below this CDDL HEADER, with the
21# fields enclosed by brackets "[]" replaced with your own identifying
22# information: Portions Copyright [yyyy] [name of copyright owner]
23#
24# CDDL HEADER END
25#
26
27# Sets the maximum number of concurrent connection oriented connections.
28# Default is unlimited and is obtained by not setting NFSD_MAX_CONNECTIONS.
29# Equivalent to -c.
30#NFSD_MAX_CONNECTIONS=
31
32# Set connection queue length for the NFS over a connection-oriented
33# transport. The default value is 32 entries.
34# Equivalent to -l.
35NFSD_LISTEN_BACKLOG=32
36
37# Start NFS daemon over the specified protocol only.
38# Equivalent to -p, ALL is equivalent to -a on the nfsd command line.
39# Mutually exclusive with NFSD_DEVICE.
40NFSD_PROTOCOL=ALL
41
42# Start NFS daemon for the transport specified by the given device only.
43# Equivalent to -t.
44# Mutually exclusive with setting NFSD_PROTOCOL.
45#NFSD_DEVICE=
46
47# Maximum number of concurrent NFS requests.
48# Equivalent to last numeric argument on nfsd command line.
49NFSD_SERVERS=16
50
51# Set connection queue length for lockd over a connection-oriented transport.
52# Default and minimum value is 32.
53LOCKD_LISTEN_BACKLOG=32
54
55# Maximum number of concurrent lockd requests.
56# Default is 20.
57LOCKD_SERVERS=20
58
59# Retransmit Timeout before lockd tries again.
60# Default is 5.
61LOCKD_RETRANSMIT_TIMEOUT=5
62
63# Grace period in seconds that all clients (both NLM & NFSv4) have to
64# reclaim locks after a server reboot. Also controls the NFSv4 lease
65# interval.
66# Overrides the deprecated setting LOCKD_GRACE_PERIOD.
67# Default is 90 seconds.
68GRACE_PERIOD=90
69
70# Deprecated.
71# As for GRACE_PERIOD, above.
72# Default is 90 seconds.
73#LOCKD_GRACE_PERIOD=90
74
75# Sets the minimum version of the NFS protocol that will be registered
76# and offered by the server.  The default is 2.
77#NFS_SERVER_VERSMIN=2
78
79# Sets the maximum version of the NFS protocol that will be registered
80# and offered by the server.  The default is 4.
81#NFS_SERVER_VERSMAX=4
82
83# Sets the minimum version of the NFS protocol that will be used by
84# the NFS client.  Can be overridden by the "vers=" NFS mount option.
85# The default is 2.
86#NFS_CLIENT_VERSMIN=2
87
88# Sets the maximum version of the NFS protocol that will be used by
89# the NFS client.  Can be overridden by the "vers=" NFS mount option.
90# If "vers=" is not specified for an NFS mount, this is the version
91# that will be attempted first.  The default is 4.
92#NFS_CLIENT_VERSMAX=4
93
94# Determines if the NFS version 4 delegation feature will be enabled
95# for the server.  If it is enabled, the server will attempt to
96# provide delegations to the NFS version 4 client. The default is on.
97#NFS_SERVER_DELEGATION=on
98
99# Specifies to nfsmapid daemon that it is to override its default
100# behavior of using the DNS domain, and that it is to use 'domain' as
101# the domain to append to outbound attribute strings, and that it is to
102# use 'domain' to compare against inbound attribute strings.
103#NFSMAPID_DOMAIN=domain
104