Print this page
7569 statd support to run on a fixed port
Portions contributed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
7577 mountd support to run on a fixed port
Portions contributed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>


   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).
  39 The
  40 .Xr sharectl 1M
  41 command should be used to query or change values for these properties.
  42 .Pp


 170 The default is
 171 .Li 5 .
 172 .It Sy grace_period Ns = Ns Ar num
 173 Grace period, in seconds, that all clients
 174 .Pq both NLM and NFSv4
 175 have to reclaim locks after a server reboot.
 176 This parameter also controls the NFSv4 lease interval.
 177 The default is
 178 .Li 90 .
 179 .It Sy mountd_listen_backlog Ns = Ns Ar num
 180 Set the connection queue length for
 181 .Nm mountd
 182 over a connection-oriented transport.
 183 The default value is
 184 .Li 64 .
 185 .It Sy mountd_max_threads Ns = Ns Ar num
 186 Maximum number of threads for
 187 .Nm mountd .
 188 The default value is
 189 .Li 16 .














 190 .El
 191 .Ss Setting nfsmapid_domain
 192 As described above, the setting for
 193 .Sy nfsmapid_domain
 194 overrides the domain used by
 195 .Xr nfsmapid 1M
 196 for building and comparing outbound and inbound attribute strings, respectively.
 197 This setting overrides any other mechanism for setting the NFSv4 domain.
 198 In the absence of a
 199 .Sy nfsmapid_domain
 200 setting, the
 201 .Xr nfsmapid 1M
 202 daemon determines the NFSv4 domain as follows:
 203 .Bl -bullet
 204 .It
 205 If a properly configured
 206 .Pa /etc/resolv.conf
 207 .Po see
 208 .Xr resolv.conf 4
 209 .Pc




   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 18, 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).
  39 The
  40 .Xr sharectl 1M
  41 command should be used to query or change values for these properties.
  42 .Pp


 170 The default is
 171 .Li 5 .
 172 .It Sy grace_period Ns = Ns Ar num
 173 Grace period, in seconds, that all clients
 174 .Pq both NLM and NFSv4
 175 have to reclaim locks after a server reboot.
 176 This parameter also controls the NFSv4 lease interval.
 177 The default is
 178 .Li 90 .
 179 .It Sy mountd_listen_backlog Ns = Ns Ar num
 180 Set the connection queue length for
 181 .Nm mountd
 182 over a connection-oriented transport.
 183 The default value is
 184 .Li 64 .
 185 .It Sy mountd_max_threads Ns = Ns Ar num
 186 Maximum number of threads for
 187 .Nm mountd .
 188 The default value is
 189 .Li 16 .
 190 .It Sy mountd_port Ns = Ns Ar num
 191 The IP port number on which
 192 .Nm mountd
 193 should listen.
 194 The default value is
 195 .Li 0 ,
 196 which means it should use a default binding.
 197 .It Sy statd_port Ns = Ns Ar num
 198 The IP port number on which
 199 .Nm statd
 200 should listen.
 201 The default value is
 202 .Li 0 ,
 203 which means it should use a default binding.
 204 .El
 205 .Ss Setting nfsmapid_domain
 206 As described above, the setting for
 207 .Sy nfsmapid_domain
 208 overrides the domain used by
 209 .Xr nfsmapid 1M
 210 for building and comparing outbound and inbound attribute strings, respectively.
 211 This setting overrides any other mechanism for setting the NFSv4 domain.
 212 In the absence of a
 213 .Sy nfsmapid_domain
 214 setting, the
 215 .Xr nfsmapid 1M
 216 daemon determines the NFSv4 domain as follows:
 217 .Bl -bullet
 218 .It
 219 If a properly configured
 220 .Pa /etc/resolv.conf
 221 .Po see
 222 .Xr resolv.conf 4
 223 .Pc