nfs.update¶
Update the NFS service configuration.
At least one protocol must remain enabled in protocols; the showmount command is available only while NFSv3 is enabled. When servers is null, the number of nfsd is determined automatically from the system’s capabilities (between 1 and 32); otherwise it is set to the requested value (1 to 256). The number of mountd processes is always one quarter of the number of nfsd. When bindip is empty, NFS listens on all active server addresses. NFS over RDMA, enabled with rdma, is only available on supported platforms with an RDMA-capable NIC and uses port 20049.
No Additional Items
Tuple Validation
Parameter 1: nfs_update
nfs_update
Type: objectNFSUpdateArgs parameters.
No Additional PropertiesServers
Specify the number of nfsd. Default: Number of nfsd is equal number of CPU.
Value must be greater or equal to 1 and lesser or equal to 256
Allow Nonroot
Type: booleanAllow non-root mount requests. This equates to 'insecure' share option.
Protocols
Type: array of enum (of string)Specify supported NFS protocols: NFSv3, NFSv4 or both can be listed.
No Additional ItemsEach item of this array must be:
Must be one of:
- "NFSV3"
- "NFSV4"
V4 Krb
Type: booleanForce Kerberos authentication on NFS shares.
V4 Domain
Type: stringSpecify a DNS domain (NFSv4 only).
Bindip
Type: array of stringLimit the server IP addresses available for NFS.
No Additional ItemsEach item of this array must be:
Must be at least 1 characters long
Mountd Port
Specify the mountd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Rpcstatd Port
Specify the rpc.statd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Rpclockd Port
Specify the rpc.lockd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Mountd Log
Type: booleanEnable or disable mountd logging.
Statd Lockd Log
Type: booleanEnable or disable statd and lockd logging.
Userd Manage Gids
Type: booleanEnable to allow server to manage gids.
Rdma
Type: booleanEnable or disable NFS over RDMA. Requires RDMA capable NIC.
NFSEntry
Type: objectThe updated NFS service configuration.
No Additional PropertiesId
Type: integerPlaceholder identifier. Not used as there is only one.
Servers
Specify the number of nfsd. Default: Number of nfsd is equal number of CPU.
Value must be greater or equal to 1 and lesser or equal to 256
Allow Nonroot
Type: booleanAllow non-root mount requests. This equates to 'insecure' share option.
Protocols
Type: array of enum (of string)Specify supported NFS protocols: NFSv3, NFSv4 or both can be listed.
No Additional ItemsEach item of this array must be:
Must be one of:
- "NFSV3"
- "NFSV4"
V4 Krb
Type: booleanForce Kerberos authentication on NFS shares.
V4 Domain
Type: stringSpecify a DNS domain (NFSv4 only).
Bindip
Type: array of string Default: []Limit the server IP addresses available for NFS.
No Additional ItemsEach item of this array must be:
Must be at least 1 characters long
Mountd Port
Specify the mountd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Rpcstatd Port
Specify the rpc.statd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Rpclockd Port
Specify the rpc.lockd port binding.
Value must be greater or equal to 1 and lesser or equal to 65535
Mountd Log
Type: booleanEnable or disable mountd logging.
Statd Lockd Log
Type: booleanEnable or disable statd and lockd logging.
V4 Krb Enabled
Type: booleanStatus of NFSv4 authentication requirement (status only).
Userd Manage Gids
Type: booleanEnable to allow server to manage gids.
Keytab Has Nfs Spn
Type: booleanReport status of NFS Principal Name in keytab (status only).
Managed Nfsd
Type: booleanReport status of 'servers' field. If true, the number of nfsd is managed by the server (status only).
Rdma
Type: booleanEnable or disable NFS over RDMA. Requires RDMA capable NIC.
Required roles: SHARING_NFS_WRITE