HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

NOTE:
You can use this command only when you are using HP XP7.
Only the LDEVs in the physical resource groups that belong to the default virtual storage machine
can be deleted. To delete an LDEV from a physical resource group that does not belong to the
default virtual storage machine, use DeleteVLDEVFromVRPU on page 157 to delete the LDEV
because the LDEV is virtualized.
If an LDEV that belongs to a physical resource group is a pool volume, all the pool volumes that
belong to the pool ID must belong to the same physical resource group. If the LDEV to be specified
is a pool volume, specify all the pool volumes that have the same pool ID.
If an LDEV that belongs to a physical resource group is a journal volume, all the journal volumes
that belong to the journal group must belong to the same physical resource group. If the LDEV to
be specified is a journal volume, specify all the journal volumes that have the same journal group
ID.
To delete the location to which multiple LDEVs belong, use the batch function. For details about
the batch function, see Chapter 6 on page 503.
Format
hdvmcli [URL] DeletePLDEVFromPRPU [options]
model=model serialnum=serial-number
devnum=Device-number-of-the-LDEV
Parameters
Table 48 DeletePLDEVFromPRPU command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Device number of the LDEV that belongs to the physical resource
group
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.
The execution results are output in decimal.
Required
devnum
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.
devnum
CLI Reference Guide 149