HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Creating a Common Provisioning Group
To create a CPG, issue the createcpg -aw <percent> -sdgs <size> -sdgl <size>
-sdgw <size> -t <RAID_type> <CPG_name> command, where:
-aw <percent> is the percentage of used snapshot space and administration space
that will generate a warning alert. If 0 (default) is specified, alert generation is disabled.
-sdgs <size> is the amount of LD storage created during each autogrow operation.
For the minimum default growth sizes per number of nodes, see Table 6 (page 78).
-sdgl is the growth limit which cannot be exceeded during autogrow operations. If 0
(default) is specified, no limit is enforced.
-sdgw <size> is the space limit for LD space before a warning alert is generated. If 0
(default) is specified, no warning limit is enforced.
-t <RAID_type> is the RAID type, specified as r0 (RAID 0), r1 (RAID 1), r5 (RAID
5), or r6 (RAID MP).
<CPG_name> is the name of the CPG being created.
If no RAID type is specified with the -t option, the default is RAID 1 for Fast Class (FC or SAS)
and SSD device types, and RAID 6 for NL device types.
HP strongly recommends using RAID 6 for NL device types. If you want to use RAID 5 for NL device
types, you must first change the setsys AllowR5OnNLDrives value to yes (the default is no).
For a complete list of options available for the createcpg command, see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
Modifying a Common Provisioning Group
The following modifications are commonly performed on CPGs using variations of the setcpg
command:
Specify the percentage of administration space or snapshot space that is used before an alert
is generated.
Specify the amount of LD space created with each auto-grow operation.
For a complete list of options available for the setcpg command, see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
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 LD space before a warning alert is generated. If 0
(default) is specified, no warning limit is 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 78) for guidelines.
80 Managing CPGs and Virtual Volumes