HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1.1 CLI Reference Guide (TB581-96066, September 2011)

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 73 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 parameter, 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, one or more of the poolID values appears under
An instance of Pool. Select the THP pool to shrink, and then specify the corresponding 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 parameter. In the execution
result of this command, the devNum value of LogicalUnit appears under An instance of
CLI Reference Guide 195