HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
Setting Snapshot Space Usage Warnings
• To set or modify the space usage warning for a CPG, issue the setcpg -sdgw <size>
<CPG_name> command, where:
◦ -sdgw <size> is the space limit for logical disk space before a warning alert is
generated. If 0 (default) is specified, no warning limit it enforced.
◦ <CPG_name> is the name of the CPG being created.
Setting a Common Provisioning Group’s Autogrow Size
NOTE: Before modifying your CPG’s autogrow settings see “Growth Increment Considerations
for Common Provisioning Groups” (page 81) for guidelines.
• To set or modify a CPG’s autogrow size, issue the setcpg -sdgs <size> <CPG_name>
command, where:
◦ -sdgs <size> is the amount of logical disk storage created during each autogrow
operation. Refer to Table 8 (page 81) for the minimum default growth sizes per number
of nodes.
◦ <CPG_name> is the name of the CPG being created.
Consolidating Common Provisioning Group Space
Compacting a CPG allows you to reclaim space from a CPG that has become less efficient in
space usage from creating, deleting, and relocating volumes. Compacting consolidates logical
disk space in CPGs into as few logical disks as possible.
• To consolidate CPG space, issue the compactcpg <CPG_name> or compactcpg
<pattern> command, where:
◦ <CPG_name> is the name of the CPG you wish to compact.
◦ <pattern> is the pattern name to which matching CPGs are compacted.
For a complete list of options available for the compactcpg command, see the HP 3PAR
InForm OS Command Line Interface Reference and InForm OS CLI Help.
Removing a Common Provisioning Group
You cannot remove a CPG that still has virtual volumes provisioned from it.
• To remove a CPG and the logical disks that make up that CPG, issue the removecpg
<CPG_name> command, where <CPG_name> is the name of the CPG being removed.
For a complete list of options available for the removecpg command, see the HP 3PAR InForm
OS Command Line Interface Reference and InForm OS CLI Help.
Virtual Volume Types
There are three types of virtual volumes:
• Fully-provisioned virtual volumes
• Thinly-Provisioned Virtual Volumes (TPVVs)
• Administrative Volumes
Administrative volumes are created by the system and are for system usage only.
84 Managing CPGs and Virtual Volumes