set Subcommand

The set subcommand, which defines the properties for a file-sharing protocol, supports the following options:

-h

Provides an online-help description

-p

Defines a property for the protocol

The set subcommand uses the following syntax:

# sharectl set [-h] [-p property=value] protocol

You must have root privileges to use the set subcommand.

You do not need to repeat this command for each additional property value. You can use the -p option multiple times to define multiple properties in the same command.

The following example sets the minimum version of the NFS protocol for the client to 3:

# sharectl set -p client_versmin=3 nfs

The following example shows how to require clients to use reserved ports for NFS calls for all file systems shared with AUTH_SYS:

# sharectl set -p resvport=on nfs