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