HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

hostModeOption=7;40
displayName=CL7-A-15
domainType=0
nickname=HCMD0030f
*****: The value is encoded by the CLI.
AddLabel
AddLabel adds a label to a logical unit.
Parameters
Table 23 AddLabel command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Device number of the logical unit to which a label is to be added
This parameter can be specified in decimal, and in
colon-separated hexadecimal. If you specify a hexadecimal
number, for XP12000/XP10000/SVS200, or XP1024/XP128,
use the xx:yy format, where xx is the CU number, and yy is
the LDEV number. For P9500 or XP24000/XP20000, use the
ww:xx:yy format, where ww is the LDKC number, xx is the CU
number, and yy is the LDEV number. ww is optional. If you omit
ww, the LDKC number is regarded as 0.
Use a comma to delimit multiple values.
The maximum number of device numbers that can be specified
is 1,024.
If an LDEV to which a label has already been added is included,
an error occurs.
Required
devnums
Label character string
You can use the following characters:
A-Z a-z 0-9 ! # $ % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _
{ | } ~ and spaces
You can use a character string of 1-64 bytes for a label.
A label character string cannot begin or end with spaces.
Required
label
Parameter values to obtain in advance
serialnum and model: Obtain these values from the execution result of the GetStorageArray
command. In the execution result, use the arrayType value or the displayArrayType value to
specify the model parameter, and use the serialNumber value to specify the serialnum parameter.
devnums: Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. Execute this command by specifying only the model and serialnum parameters, and
LDEV for the subtarget parameter. In the execution result of this command, the devNum value of
an LDEV appears under An instance of LDEV. For the devnums parameter, specify the devNum
value of the LDEV to which you want to add a label.
Device Manager CLI command reference54