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

Parameters
Table 76 ShrinkPool command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Pool ID
Specify the pool ID of the THP/Smart pool to be shrunk.
Required
poolid
Device number of the logical unit(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.
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.
poolid
Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. When you execute this command, specify values that have been obtained in advance
for the serialnum and model parameters, and then specify 5 (Thin Provisioning) for the
poolfilter parameter. In the execution result of this command, the poolID values appear
under An instance of Pool. Select the THP/Smart pool to shrink, and then specify the cor-
responding poolID value for the poolid parameter.
devnums
Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. When you execute this command, specify values that have been obtained in advance
for the serialnum, model, and poolid parameters. Specify LogicalUnit for the
poolsubinfo parameter, and then specify 5 (Thin Provisioning) for the poolfunction para-
meter. In the execution result of this command, the devNum value of LogicalUnit appears
under An instance of LogicalUnit. Specify for the devnums parameter the devNum
value of a logical unit corresponding to the THP/Smart volumes that satisfy the condition for
shrinking the THP/Smart pool. The logical units that satisfy the condition for shrinking the pool
are the logical units whose thpType value is 1 (THP/Smart pool volumes), and whose thpPool-
VolControlFlag value is 2 (the THP/Smart pool can be shrunk).
Command execution example
In this example, the ShrinkPool command shrinks the THP/Smart pool for the pool volume (devnum:
00:06:0B) that belongs to the THP/Smart pool whose pool ID is 1 (poolid: 1) in the storage system
(serial number: 53039, model: P9500).
Command reference220