NFS-Related SMF Configuration Parameters
In Oracle Solaris 11.2, the network/nfs/server
service includes the nfs-props
property group, which provides configurable parameters to control the refresh of the NFS authentication cache and to control the mountd
netgroup
cache.
You can use sharectl
command to get and set these properties.
# sharectl get -p server_authz_cache_refresh nfs server_authz_cache_refresh=600 $ sharectl set -p server_authz_cache_refresh=1 nfs
You can also get and set these properties by using SMF commands but you will need to refresh the network/nfs/server
service.
# svccfg -s nfs/server:default setprop nfs-props/server_authz_cache_refresh=1 # svcprop -p nfs-props/server_authz_cache_refresh svc:/network/nfs/server:default 1 # svcadm restart nfs/server:default