NFS rpc.mountd Options
Under certain circumstances, users may need to change or remove NFS rpc.mountd
options.
Note: For a list of all the Appliance Controller commands, see the Command Index.
Caution: The Appliance Controller manages the /etc/sysconfig/nfs
file. Any edits made directly to this file will be lost when the Appliance Controller is restarted, or when changes are made to NAS configurations.
- Log in to the Appliance Controller CLI on the node you will configure the
rpc.mountd
options: - To change the NFS
rpc.mountd
options, enter: - Options are space separated
-
Only a subset of nfs.mountd options are supported
- Changes to
nfs.mountd
options will restart NFS services and disrupt NFS access to shares. You must unmount all NFS clients prior to doing issuing this command. - The nas nfsmountd change command can only be issued from the 'master' node in a NAS cluster.
- When you issue the nas
nfsmountd
options change command, all previous options are replaced with the new options. - To append additional
nfs.mountd
options, you need to enter the current options along with new options -
Currently supported (valid) options with the
nas rpcmountd options change
command are:'-d', '--debug'
'-o', '--descriptors'
'-n', '--no-tcp'
'-r', '--reverse-lookup'
'-t', '--num-threads'
'-u', '--no-udp'
'-g', '--manage-gids'
Consult the
nfs.rpcmountd
man page for proper arguments and use of these options:nfs.rpcmountd
man pageExample: Add --manage-gids and --no-udp options
> nas rpcmountd options change '--manage-gids --no-udp'
This will disrupt NFS access. Please unmount all NFS clients prior to doing this. Continue (yes/No)? yes
Updating value on local node...
Broadcasting to NAS cluster...
Sending nas_rpcmountd_change to node 10.205.17.124
Sending nas_rpcmountd_change to node 10.205.17.133
Waiting for nas_rpcmountd_change to complete on node 10.205.167.124
[10.205.17.124]: Updating value on local node...
Waiting for nas_rpcmountd_change to complete on node 10.205.17.133
[10.205.17.133]: Updating value on local node...
Additional rpc.mountd options are: --manage-gids --no-udp
nas rpcmountd options change <option> [option ...]
The parameters are:
|
If changing multiple nfs.mountd options. When entering options: |
Considerations:
To remove all user-specified nfs.mountd
options, issue the nas nfsmountd options remove
command.
- Log in to the Appliance Controller CLI. on the node you will remove the
rpc.mountd
options: - To remove the NFS
rpc.mountd
options, enter:
nas rpcmountd options remove