Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/./man/man5/nfs.5
Real path: /usr/share/man/man5/nfs.5
Zurück
'\" te .\" Copyright (c) 2004, 2023, Oracle and/or its affiliates. .TH nfs 5 "22 Mar 2023" "Oracle Solaris 11.4" "File Formats" .SH NAME nfs \- configuration properties for the Oracle Solaris NFS server and client .SH DESCRIPTION .sp .LP The settings formerly managed by the \fBnfs\fR file have been moved to SMF properties and are now managed by \fBsharectl\fR command. For more information, see the \fBsharectl\fR(8) man page. .sp .LP An authorized user can use the \fBsharectl\fR command to set global values for these properties in SMF. .sp .LP The following list describes the properties: .sp .ne 2 .mk .na \fB\fBclient_versmin\fR=\fInum\fR\fR .ad .br .na \fB\fBclient_versmax\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n The NFS client only uses NFS versions in the range specified by these variables. Valid versions are 2, 3, 4, 4.0, and 4.1. The client's default minimum version is 2. The default maximum version is 4 which can be either 4.1 or 4.0 depending on the server. You can override the default maximum version on a per-mount basis by using the \fBvers\fR=<\fINFS version\fR> option in the \fBmount_nfs\fR command. For more information, see the \fBmount_nfs\fR(8) man page. .RE .sp .ne 2 .mk .na \fB\fBserver_versmin\fR=\fInum\fR\fR .ad .br .na \fB\fBserver_versmax\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n The NFS server only uses NFS versions in the range specified by these variables. Valid values or versions are: 2, 3, 4, 4.0, and 4.1. For the server, the default minimum version is 2 and the default maximum version is 4.1. \fBserver_versmin\fR=\fI4\fR is equivalent to 4.0, while \fBserver_versmax\fR=\fI4\fR is equivalent to 4.1. Both min and max can be set to 4.0 or 4.1 explicitly to avoid confusion. .RE .sp .ne 2 .mk .na \fB\fBserver_delegation\fR=\fIon\fR | \fIoff\fR\fR .ad .br .sp .6 .RS 4n Delegation is an NFS Version 4 feature in which the server can delegate the management of a file to a client. By default, the NFS server provides delegations to clients. The user can turn off delegations for all exported filesystems by setting this variable to off (case-sensitive). .RE .sp .ne 2 .mk .na \fB\fBnfsmapid_domain\fR=\fIdomain-string\fR\fR .ad .br .sp .6 .RS 4n By default, \fBnfsmapid\fR uses the DNS domain of the system. This setting overrides the default. This domain is used for identifying user and group attribute strings in the NFS Version 4 protocol. Clients and servers must match with this domain for operation to proceed normally. This variable only applies to NFS Version 4. For further details, see "Setting \fBnfsmapid_domain\fR". .RE .sp .ne 2 .mk .na \fB\fBmax_connections\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Sets the maximum number of concurrently open connections on the server for connection-oriented transports. The default is unlimited and is obtained by setting it to -1. Equivalent to the \fB-c\fR option in \fBnfsd\fR. .RE .sp .ne 2 .mk .na \fB\fBlisten_backlog\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Sets connection queue length for the NFS over a connection-oriented transport. The default value is 32, meaning 32 entries in the queue. Equivalent to the \fB-l\fR option in \fBnfsd\fR. .RE .sp .ne 2 .mk .na \fB\fBprotocol\fR=\fIALL\fR\fR .ad .br .sp .6 .RS 4n Starts \fBnfsd\fR over the specified protocol only. Equivalent to the \fB-p\fR option in \fBnfsd\fR. \fIALL\fR is equivalent to \fB-a\fR on the \fBnfsd\fR command line. Mutually exclusive of device. For the UDP protocol, only version 2 and version 3 service is established. NFS Version 4 is not supported for the UDP protocol. .RE .sp .ne 2 .mk .na \fB\fBdevice\fR=\fIdevname\fR\fR .ad .br .sp .6 .RS 4n Starts NFS daemon for the transport specified by the given device only. Equivalent to the \fB-t\fR option in \fBnfsd\fR. Mutually exclusive of the \fIprotocol\fR parameter. One or the other of NFS SMF parameters device and protocol must not be set. .RE .sp .ne 2 .mk .na \fB\fBservers\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Maximum number of concurrent NFS requests. Equivalent to last numeric argument on the \fBnfsd\fR command line. The default is 2048. .RE .sp .ne 2 .mk .na \fB\fBlockd_listen_backlog\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Sets connection queue length for \fBlockd\fR over a connection-oriented transport. The default and minimum value is 32. .RE .sp .ne 2 .mk .na \fB\fBlockd_servers\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Maximum number of concurrent \fBlockd\fR requests. The default is 1024. .RE .sp .ne 2 .mk .na \fB\fBlockd_retransmit_timeout\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Retransmits timeout, in seconds, before \fBlockd\fR retries. The default is 5. .RE .sp .ne 2 .mk .na \fB\fBgrace_period\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Grace period, in seconds, that all clients (both NLM and NFSv4) have to reclaim locks after a server reboot. This parameter also controls the NFSv4 lease interval and overrides the deprecated setting \fBLOCKD_GRACE_PERIOD\fR. The default is 90. The minimum allowed value is 15. .RE .sp .ne 2 .mk .na \fB\fBserver_enable_idmap\fR=\fIon\fR|\fIoff\fR\fR .ad .br .sp .6 .RS 4n By default, this variable is on. Set the variable to off to allow the NFS server to accept numeric UIDs and GIDs from NFS clients using \fBauth_sys\fR authentication and returns numeric UIDs and GIDs to clients using \fBauth_sys\fR. This variable applies only to NFS Version 4 and is intended to ease migration from NFSv2/v3. .RE .sp .ne 2 .mk .na \fB\fBserver_authz_cache_refresh\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Controls the refresh rate of the NFS authentication cache. The default value is 600 seconds. Setting it to 0 means no expiration. .RE .sp .ne 2 .mk .na \fB\fBnetgroup_refresh\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Controls the refresh of the \fBmountd\fR \fBnetgroup\fR cache. The default value is 600 seconds and a value of 0 means no expiration. .RE .sp .ne 2 .mk .na \fB\fBresvport\fR=\fItrue\fR|\fIfalse\fR\fR .ad .br .sp .6 .RS 4n Controls whether or not the server requires the client to use a reserved port for all NFS calls. The default is false. .RE .sp .ne 2 .mk .na \fB\fBstatd_servers\fR=\fInum\fR\fR .ad .br .sp .6 .RS 4n Maximum number of concurrent \fBstatd\fR requests. The default is 1024. .RE .sp .ne 2 .mk .na \fB\fBexplicit_netgroups\fR=\fItrue\fR|\fIfalse\fR\fR .ad .br .sp .6 .RS 4n Controls whether to enforce new syntax for netgroups, where netgroups in share access list entries must be marked with a leading '%' to distinguish them from hostnames. Enabling this setting requires the admin to make this change to all share access lists manually, and can eliminate unnecessary DNS lookups. The default is false. .RE .sp .ne 2 .mk .na \fB\fBclient_nfs23_acl\fR=\fItrue\fR|\fIfalse\fR\fR .ad .br .sp .6 .RS 4n Controls whether the client will try to use the NFS_ACL protocol for NFSv2 and NFSv3 mounts. The default value is true. Individual mounts can override this property using the \fBacl\fR or \fBnoacl\fR options. See the description of those options in the \fBmount_nfs\fR(8) man page for additional details and cautions. .RE .SH SETTING \fBnfsmapid_domain\fR .sp .LP As described above, the setting for \fBnfsmapid_domain\fR overrides the domain used by \fBnfsmapid\fR for building and comparing outbound and inbound attribute strings, respectively. This setting overrides any other mechanism for setting the NFSv4 domain. In the absence of a \fBnfsmapid_domain\fR setting, the \fBnfsmapid\fR daemon determines the NFSv4 domain as follows: .RS +4 .TP .ie t \(bu .el o If a properly configured \fB/etc/resolv.conf\fR exists, \fBnfsmapid\fR queries specified nameservers for the domain. For more information, see the \fBresolv.conf\fR(5) man page. .RE .RS +4 .TP .ie t \(bu .el o If a properly configured \fB/etc/resolv.conf\fR exists, but the queried nameserver does not have a proper record of the domain name, \fBnfsmapid\fR attempts to obtain the domain name through the BIND interface. For more information, see the \fBresolver\fR(3RESOLV) man page. .RE .RS +4 .TP .ie t \(bu .el o If no \fB/etc/resolv.conf\fR exists, \fBnfsmapid\fR falls back on using the configured domain name, which is returned with the leading domain suffix removed. For example, for \fBwidgets.sales.example.com\fR, \fBsales.example.com\fR is returned. For more information, see the \fBdomainname\fR(8) man page. .RE .RS +4 .TP .ie t \(bu .el o If \fB/etc/resolv.conf\fR does not exist, no domain name has been configured (or no \fB/etc/defaultdomain\fR exists), \fBnfsmapid\fR falls back on obtaining the domain name from the host name, if the host name contains a fully qualified domain name (FQDN). .RE .sp .LP If a \fBdomainname\fR is still not obtained following all of the preceding steps, \fBnfsmapid\fR has no domain configured. This results in the following behavior: .RS +4 .TP .ie t \(bu .el o Outbound owner and \fBowner_group\fR attribute strings are encoded as literal id's. For example, the UID 12345 is encoded as "12345". .RE .RS +4 .TP .ie t \(bu .el o \fBnfsmapid\fR ignores the "domain" portion of the inbound attribute string and performs name service lookups only for the user or group. If the user or group exists in the local system name service databases, then the proper UID or GID is mapped even when no domain has been configured. .sp This behavior implies that the same administrative user or group domain exists between NFSv4 client and server (that is, the same UID or GID for users or groups on both client and server). In the case of overlapping id spaces, the inbound attribute string could potentially be mapped to the wrong id. However, this is not functionally different from mapping the inbound string to nobody, yet provides greater flexibility. .RE .SH SEE ALSO .sp .LP \fBlockd\fR(8), \fBmount_nfs\fR(8), \fBmountd\fR(8), \fBnetcfg\fR(8), \fBnfsd\fR(8), \fBnfsmapid\fR(8), \fBsharectl\fR(8), \fBstatd\fR(8) .sp .LP \fIManaging Network File Systems in Oracle Solaris 11.4\fR