HP 3PAR OS 3.1.3 Command Line Interface Reference

removecpg
DESCRIPTION
The removecpg command removes Common Provisioning Groups (CPGs) from the system or
removes specific Logical Disks (LDs) from CPGs.
AUTHORITY
Super, Edit
Any role granted the cpg_remove right.
NOTE: You need access to all domains in order to run this command.
SYNTAX
removecpg [options <arg>] {<CPG_name>|<pattern>}...
OPTIONS
f
Specifies that the command is forced. If this option is not used, the command requires confirmation
before proceeding with its operation.
ld
Specifies that after the CPG is removed, all LDs that were part of the CPG are also removed. This
is the default behavior.
sa <LD_name>
Specifies that the LD, as identified with the <LD_name> argument, used for snapshot administration
space allocation is removed. The <LD_name> argument can be repeated to specify multiple LDs.
This option is deprecated and will be removed in a subsequent release.
sd <LD_name>
Specifies that the LD, as identified with the <LD_name> argument, used for snapshot data space
allocation is removed. The <LD_name> argument can be repeated to specify multiple LDs. This
option is deprecated and will be removed in a subsequent release.
pat
The specified patterns are treated as glob-style patterns and that all common provisioning groups
matching the specified pattern are removed. By default, confirmation is required to proceed with
the command unless the f option is specified. This option must be used if the pattern specifier
is used.
SPECIFIERS
<CPG_name>
Specifies the name of the CPG that is either being removed or losing LDs.
<pattern>
Specifies a glob-style pattern. This specifier can be repeated to remove multiple common provisioning
groups. If this specifier is not used, the <CPG_name> specifier must be used. See “Glob-Style
Pattern” (page 12) for more information.
216 Remove Commands