Shrinking a volume using the CLI
You can reduce the capacity of a compressed or uncompressed volume by using the command-line interface (CLI).
About this task
Volumes can be reduced in capacity, if it is necessary. You can make a target or auxiliary volume the same capacity as the source or master volume when you create FlashCopy® mappings, Metro Mirror relationships, or Global Mirror relationships. However, if the volume contains data, do not shrink the size of the disk. The system disables shrinking a volume if the selected volume is performing quick initialization. After the quick initialization completes, you can shrink the volume.
You can use the shrinkvdisksize command to shrink the usable capacity that is provisioned to the particular volume by the specified amount. You can also shrink the provisioned capacity of a thin-provisioned volume without altering the usable capacity that is assigned to the volume.
You cannot shrink the capacity of any volume in a Global Mirror with change volumes relationship or in a HyperSwap® relationship.
consistent_synchronized
state. You cannot shrink the
following types of volumes: You must shrink both volumes in a relationship to maintain full operation of the system. Shrink the primary volume by the required capacity, and then shrink the secondary volume.
Procedure
Complete the following steps to shrink a volume: