HP StoreOnce Backup System CLI Reference Guide
nas show share
Description of Command Function
Displays NAS share details or a list of all NAS shares.
Command Syntax
nas show share [setX] {shareX|all}
Command Authority
Operator and Administrator
Command Object Requirements
• SET
X
– This required object indicates the service set where the NAS share is to be shown. X
is the numeric index of the service set. 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 share
command).
• SHARE
X
– This optional object defines a share index. X is the numeric index of the library.
This object must be specified in the exact position as given by the command syntax (i.e., it
must immediately follow the share command if SETX object is omitted; otherwise, it must
immediately follow the SETX object).
• ALL – If this optional object is included in the command sequence, it selects all NAS shares.
This object must be specified in the exact position as given by the command syntax (i.e., it
must immediately follow the share command if SETX object is omitted; otherwise, it must
immediately follow the SETX object).
Command Parameter Requirements
Not applicable – no parameters exist within this command.
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.
Successful Command Output
Upon successful completion of the command, the following message is displayed, and then the
CLI returns to the user prompt:
Command Successful
Command Operation during Abnormal Conditions
If command execution fails, the following message is displayed:
Command failed.
Examples
Example showing all shares:
# nas show share all
ID Name Protocol Status Health
1 share1 CIFS Online OK
2 MyNFS1 NFS Online OK
3 MyCIFS3 CIFS Online OK
Example showing full share details:
106 Alphabetical List of Commands and Details