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

Command execution example
hdvmcli DeleteHostStorageDomain -o "D:\logs\DeleteHostStorageDomain.log"
"serialnum=10001" "model=XP1024" "port=16" "domain=1" "deletionoption=lusekeep"
Command execution result
RESPONSE:
(Command completed; no data returned)
DeleteLabel
DeleteLabel deletes a label from a logical unit.
Parameters
Table 32 DeleteLabel command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Device number of the logical unit
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.
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 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 from which you want to delete a label.
CLI Reference Guide 87