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

DeleteLabel
DeleteLabel deletes a label from a logical unit.
Parameters
Table 34 DeleteLabel command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Device number of the logical unit
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.
Required
devnums
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 from which you want to delete a label.
Command execution example
hdvmcli DeleteLabel -o "D:\logs\DeleteLabel.log"
"serialnum=10037" "model=XP24000" "devnums=00:00:00,00:00:01"
CLI Reference Guide 99