HP StoreOnce Backup System CLI Reference Guide
nas delete share
Description of Command Function
Deletes either a CIFS or NFS share.
Command Syntax
nas delete share [SETX] {SHAREX|ALL}
Command Authority
Administrator
Command Object Requirements
• SET
X
– This required object is a service set where the NAS share is to be deleted. 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 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 the SETX object is omitted; otherwise, it must
immediately follow the SETX object). Use the nas show share all command for share
information.
• 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 the SETX object is omitted; otherwise, it must
immediately follow the SETX object).
NOTE: Currently, required functionality for this object is not implemented.
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.
Example
# nas delete share set1 share3
Command Successful
nas delete share 103