Print this page
Marcel's code review fixes
Marcel's update to 7651


   2 .\" The contents of this file are subject to the terms of the
   3 .\" Common Development and Distribution License (the "License").
   4 .\" You may not use this file except in compliance with the License.
   5 .\"
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   7 .\" or http://www.opensolaris.org/os/licensing.
   8 .\" See the License for the specific language governing permissions
   9 .\" and limitations under the License.
  10 .\"
  11 .\" When distributing Covered Code, include this CDDL HEADER in each
  12 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  13 .\" If applicable, add the following below this CDDL HEADER, with the
  14 .\" fields enclosed by brackets "[]" replaced with your own identifying
  15 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  16 .\"
  17 .\"
  18 .\" Copyright 1989 AT&T
  19 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
  20 .\" Copyright 2016 Nexenta Systems, Inc.
  21 .\"
  22 .Dd November 16, 2016
  23 .Dt NFS 4
  24 .Os
  25 .Sh NAME
  26 .Nm nfs
  27 .Nd NFS configuration properties
  28 .Sh DESCRIPTION
  29 The behavior of the
  30 .Xr nfsd 1M ,
  31 .Xr nfsmapid 1M ,
  32 .Xr lockd 1M ,
  33 and
  34 .Xr mountd 1M
  35 daemons and
  36 .Xr mount_nfs 1M
  37 command is controlled by property values that are stored in the Service
  38 Management Facility, smf(5). The
  39 .Xr sharectl 1M
  40 command should be used to query or change values for these properties.
  41 .Pp
  42 Changes made to


 123 .Fl a
 124 on the
 125 .Nm nfsd
 126 command line. Mutually exlusive of
 127 .Sy device .
 128 For the UDP protocol, only version 2 and version 3 service is established. NFS
 129 Version 4 is not supported for the UDP protocol.
 130 .It Sy device Ns = Ns Op Ar devname
 131 Start NFS daemon for the transport specified by the given device only.
 132 Equivalent to the
 133 .Fl t
 134 option in
 135 .Nm nfsd .
 136 Mutually exclusive of
 137 .Sy protocol .
 138 .It Sy servers Ns = Ns Ar num
 139 Maximum number of concurrent NFS requests. Equivalent to last numeric argument
 140 on the
 141 .Nm nfsd
 142 command line. The default is
 143 .Li 16 .
 144 .It Sy lockd_listen_backlog Ns = Ns Ar num
 145 Set connection queue length for
 146 .Nm lockd
 147 over a connection-oriented transport. The default and minimum value is
 148 .Li 32 .
 149 .It Sy lockd_servers Ns = Ns Ar num
 150 Maximum number of concurrent
 151 .Nm lockd
 152 requests. The default is 20.
 153 .It Sy lockd_retransmit_timeout Ns = Ns Ar num
 154 Retransmit timeout, in seconds, before
 155 .Nm lockd
 156 retries. The default is
 157 .Li 5 .
 158 .It Sy grace_period Ns = Ns Ar num
 159 Grace period, in seconds, that all clients
 160 .Pq both NLM and NFSv4
 161 have to reclaim locks after a server reboot. This parameter also controls the
 162 NFSv4 lease interval. The default is
 163 .Li 90 .
 164 .It Sy mountd_listen_backlog Ns = Ns Ar num
 165 Set the connection queue length for
 166 .Nm mountd
 167 over a connection-oriented transport. The default value is
 168 .Li 64 .
 169 .It Sy mountd_max_threads Ns = Ns Ar num
 170 Maximum number of threads for
 171 .Nm mountd .
 172 The default value is




   2 .\" The contents of this file are subject to the terms of the
   3 .\" Common Development and Distribution License (the "License").
   4 .\" You may not use this file except in compliance with the License.
   5 .\"
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   7 .\" or http://www.opensolaris.org/os/licensing.
   8 .\" See the License for the specific language governing permissions
   9 .\" and limitations under the License.
  10 .\"
  11 .\" When distributing Covered Code, include this CDDL HEADER in each
  12 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  13 .\" If applicable, add the following below this CDDL HEADER, with the
  14 .\" fields enclosed by brackets "[]" replaced with your own identifying
  15 .\" information: Portions Copyright [yyyy] [name of copyright owner]
  16 .\"
  17 .\"
  18 .\" Copyright 1989 AT&T
  19 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
  20 .\" Copyright 2016 Nexenta Systems, Inc.
  21 .\"
  22 .Dd December 16, 2016
  23 .Dt NFS 4
  24 .Os
  25 .Sh NAME
  26 .Nm nfs
  27 .Nd NFS configuration properties
  28 .Sh DESCRIPTION
  29 The behavior of the
  30 .Xr nfsd 1M ,
  31 .Xr nfsmapid 1M ,
  32 .Xr lockd 1M ,
  33 and
  34 .Xr mountd 1M
  35 daemons and
  36 .Xr mount_nfs 1M
  37 command is controlled by property values that are stored in the Service
  38 Management Facility, smf(5). The
  39 .Xr sharectl 1M
  40 command should be used to query or change values for these properties.
  41 .Pp
  42 Changes made to


 123 .Fl a
 124 on the
 125 .Nm nfsd
 126 command line. Mutually exlusive of
 127 .Sy device .
 128 For the UDP protocol, only version 2 and version 3 service is established. NFS
 129 Version 4 is not supported for the UDP protocol.
 130 .It Sy device Ns = Ns Op Ar devname
 131 Start NFS daemon for the transport specified by the given device only.
 132 Equivalent to the
 133 .Fl t
 134 option in
 135 .Nm nfsd .
 136 Mutually exclusive of
 137 .Sy protocol .
 138 .It Sy servers Ns = Ns Ar num
 139 Maximum number of concurrent NFS requests. Equivalent to last numeric argument
 140 on the
 141 .Nm nfsd
 142 command line. The default is
 143 .Li 1024 .
 144 .It Sy lockd_listen_backlog Ns = Ns Ar num
 145 Set connection queue length for
 146 .Nm lockd
 147 over a connection-oriented transport. The default and minimum value is
 148 .Li 32 .
 149 .It Sy lockd_servers Ns = Ns Ar num
 150 Maximum number of concurrent
 151 .Nm lockd
 152 requests. The default is 256.
 153 .It Sy lockd_retransmit_timeout Ns = Ns Ar num
 154 Retransmit timeout, in seconds, before
 155 .Nm lockd
 156 retries. The default is
 157 .Li 5 .
 158 .It Sy grace_period Ns = Ns Ar num
 159 Grace period, in seconds, that all clients
 160 .Pq both NLM and NFSv4
 161 have to reclaim locks after a server reboot. This parameter also controls the
 162 NFSv4 lease interval. The default is
 163 .Li 90 .
 164 .It Sy mountd_listen_backlog Ns = Ns Ar num
 165 Set the connection queue length for
 166 .Nm mountd
 167 over a connection-oriented transport. The default value is
 168 .Li 64 .
 169 .It Sy mountd_max_threads Ns = Ns Ar num
 170 Maximum number of threads for
 171 .Nm mountd .
 172 The default value is