HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

thpPoolID=0
threshold=5
tcaPoolID=-1
thpPoolVolControlFlag=-1
*****: The value is encoded by the CLI.
ShrinkPool
The ShrinkPool command shrinks the THP pool.
If the unused capacity of the THP pool is larger than the used capacity, you can use this command to
exclude the THP pool volumes that compose the THP pool to decrease the THP pool capacity.
To shrink the THP pool, you can only exclude the THP pool volumes that are in the status that enables
a pool to be shrunk.
Use the GetPoolShrinkStatus command to make sure that the operation for shrinking the THP
pool has finished. After the operation for shrinking the THP pool finishes, the excluded THP pool
volumes change to normal volumes. Therefore, use the FormatLU command to format the normal
volumes.
NOTE:
This command can be used only with P9500.
Parameters
Table 75 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 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.
CLI Reference Guide 209