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

DescriptionStatusParameter name
Model of the storage systemRequired
model
Specifies whether to delete THP volumes that have not been
released from the THP pool.
To delete such THP volumes, specify force.
Optional
(XP24000/XP20000)
deletionoption
Name(s) of the virtual parity group(s).
Use a comma to delimit multiple values.
Optional
arraygroup-
names
#
Device number(s) of the THP/Smart volume(s).
Specify this parameter as a decimal number or colon-delimited
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 assumed to be 0.
Use a comma to delimit multiple values.
Optional
devnums
#
#
Always specify either the arraygroupnames parameter or the devnums parameter. Do not
specify both parameters at the same time. If they are specified at the same time, an error will
occur.
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.
arraygroupnames
Obtain this value from the execution result of the GetStorageArray (subtarget=ArrayGroup)
command. In the execution result of this command, displayName appears under An instance
of ArrayGroup. Use this value to specify the arraygroupnames 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. Use this devNum value to specify
the devnums parameter.
Command execution example
In this example, the DeleteVirtualVolume command deletes the virtual parity group
(arraygroupnames: X200-1) containing THP volumes from the storage system (serialnum: 15065,
model: XP24000). In addition, this command also deletes THP volumes whose assignations with THP
pools have not been released by specifying force for the deletionoption parameter.
hdvmcli DeleteVirtualVolume -o "D:\logs\DeleteVirtualVolume.log"
model=XP24000 serialnum=15065 deletionoption=force arraygroupnames=X200-1
CLI Reference Guide 107