Print this page
4953763 Need way to configure NFS window sizes without changing system wide defaults
6216670 NFS server needs a bigger transmit buffer
   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 


  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















   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 


  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