HP StoreOnce Backup System CLI Reference Guide

nfs enable host
Description of Command Function
Enables specific host authentication for an NFS share.
In order to change specific authentication parameters, this command may be used repeatedly,
even on the same host and share, without the need to call disable host or any other command.
Command Syntax
nfs enable host [SETX] SHAREX name <hostname> [readonly {yes|no}]
[rootsquash {yes|no}] [secure {yes|no}]
Command Authority
Administrator
Command Object Requirements
SET
X
This object defines an individual service set. X is a unique numeric index. This object
is required for a multi-node system and optional for a single-node system. If it is omitted for a
single-node system, it defaults to SET1. If the object is specified (either for a multi-node or
single-node system), it must be specified in the exact position as given by the command syntax
(i.e., it must immediately follow the host command).
SHARE
X
This object is required. X is a unique numeric index of the share. It must be specified
in the exact position as given by the command syntax (i.e., it must immediately follow the
SETX object, or if the SETX object is omitted, it must immediately follow the host command).
Command Parameter Requirements
name This required parameter specifies the host name.
readonly This optional parameter specifies the read-only flag for the specified host on the
specified share. If omitted, the parameter is not changed. The default for a new host is yes.
rootsquash This optional parameter specifies the root_squash flag for the specified host
on the specified share. If omitted, the parameter is not changed. The default for a new host
is yes.
secure This optional parameter specifies the NFS secure flag for the specified host on the
specified share. If omitted, the parameter is not changed. The default for a new host is yes.
Requirements for Command Execution
The command entry must conform to command syntax.
The service set SETX object must be valid.
The share SHAREX object must be valid.
The host name must exist on the NFS server.
The readonly parameter, if specified, must be yes or no.
The rootsquash parameter, if specified, must be yes or no.
The secure parameter, if specified, must be yes or no.
Successful Command Output
Upon successful completion of the command, host authentication for the NFS share is enabled,
and the following is displayed:
Command Successful
nfs enable host 149