HP XP P9000 Command View Advanced Edition Suite Software 7.6.0-00 CLI Reference Guide
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.
vrpuid
Obtain this value from the execution results of the GetStorageArray (subtarget=VResource-
PartitionUnit) command. Execute this command by specifying only the model and serial-
num parameters, and VResourcePartitionUnit for the subtarget parameter. In the exe-
cution results of this command, the required resourcePartitionUnitID value appears under
An instance of VResourcePartitionUnit. Use this value to specify the vrpuid para-
meter.
devnum
Obtain this value from the execution results of the GetStorageArray (subtarget=VResource-
PartitionUnit) command. Execute this command by specifying the model, serialnum, and
vrpuid parameters, VResourcePartitionUnit for the subtarget parameter, and VLDEV
for the vrpusubinfo parameter. In the execution results, the devNum value, which is required
for the devnum parameter, is output after An instance of VLDEV. Specify this devNum value
for the devnum parameter.
Command execution example
In this example, an LDEV (device number: 11) is deleted from a resource group (ID: 2) used for data
migrations that use virtual IDs in the specified storage system (model: VSP; serial number: 53038).
In addition, LDEV virtual information is deleted.
hdvmcli DeleteVLDEVFromVRPU -o "D:\logs\DeleteVLDEVFromVRPU.log"
"model=P9500" "serialnum=53038" "vrpuid=2" "devnum=11"
Command execution result
RESPONSE:
(Command completed; empty list returned)
FormatLU
FormatLU formats an LU.
To check whether the LDEV was formatted properly if you omitted the wait parameter, or if you
specified false in the wait parameter, first use the AddStorageArray command to refresh the
storage system, and then execute the GetStorageArray (subtarget=LDEV) command and check
the value of status in the execution results. If you specified true in the wait parameter, simply
check the value of status in the execution results of the FormatLU command.
CAUTION:
This command erases data on the LU. If you format an LU that is being used, you cannot restore its
data.
CLI Reference Guide 121