3PAR InFormĀ® OS 2.3.1 CLI Reference (320-200166 Rev B, March 2010)

9.2
Command Line Interface Reference InForm OS Version 2.3.1
COMMAND
compactcpg
DESCRIPTION
The compactcpg command consolidates logical disk space in Common Provisioning Groups
(CPGs) into as few logical disks as possible, allowing unused logical disks to be removed and
their space reclaimed.
SYNTAX
compactcpg [options] <CPG_name|pattern>...
AUTHORITY
Super, Edit
OPTIONS
-pat
Compacts CPGs that match any of the specified patterns.
-waittask
Waits for any created tasks to complete.
-trimonly
Removes unused logical disks after consolidating the space. This option will not perform
any region moves.
-dr
Specifies that the operation is a dry run, and the tasks will not actually be performed.
-f
Does not ask for confirmation before compacting the logical disks. Unless the -f option is
specified, the command asks for confirmation before compacting each CPG.