HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

AddLabel
AddLabel adds a label to a logical unit.
Parameters
Table 24 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
For P9500 and XP24000/XP20000:
Specify this parameter as a decimal number or colon-delim-
ited hexadecimal number in the format ww:xx:yy, where
ww is the LDKC number, xx is the CU number, and yy is the
LDEV number. ww is optional. If ww is omitted, LDKC is as-
sumed to be 0.
For XP12000/XP10000/SVS200 and XP1024/XP128:
Specify this parameter as a decimal number or colon-delim-
ited hexadecimal number in the format xx:yy, where xx is
the CU number, and yy is the LDEV number.
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 para-
meter, 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.
Command reference60