HP StoreOnce D2D4324 HP StoreOnce Backup System CLI Reference Guide (BB877-909 - Page 65
nas create share, to implementation dependent short descriptive name.
View all HP StoreOnce D2D4324 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
nas create share Description of Command Function This command creates either a CIFS or NAS share. Command Syntax nas create share [SETX] SHAREX proto {CIFS|NFS} [name ] [desc ] [readonly {yes|no}] Command Authority Administrator Command Object Requirements • SETX - This required object defines the service set where the NAS share is to be created.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 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. • SHAREX - 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 'share' command if SETX object is omitted, otherwise it must immediately follow SETX object. Command Parameter Requirements • proto - This parameter is required and specifies NAS share protocol, either CIFS or NFS. • name - This parameter is optional and specifies NAS share name. If omitted it will default to 'Share_X1_X2' on multi-node and 'Share_X2' on single-node system, where X1 is derived from SETX object and X2 is derived from SHAREX object. • desc - This parameter is optional and specifies NAS share description. If omitted it will default to implementation dependent short descriptive name. • readonly - This parameter is optional and specifies read-only flag for a NAS share. If omitted it will default to no and NAS share will set read-write. Requirements for Command Execution • The command entry must conform to the command syntax. • The service set object SETX must be valid. • The share object SHAREX must be valid. Successful Command Output Upon successful completion of the command, the following message is displayed and 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 # nas create share SET1 SHARE0 proto NFS Command Successful # nas create share SET1 SHARE1 proto CIFS name Share1 desc CIFS share readonly yes nas create share 65