3PAR InForm® OS 2.3.1 CLI Reference (320-200166 Rev B, March 2010)
19.6
Command Line Interface Reference InForm OS Version 2.3.1
–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 on page 2.4 for more information.
RESTRICTIONS
■ Access to all domains is required to run this command.
■ The removecpg command fails if any of the LDs, or the entire CPG, is in use by a Thinly
Provisioned Virtual Volume (TPVV).
EXAMPLES
The following example displays the removal of CPG cpg1:
NOTES
■ By default, this command deletes any unused LDs. This is equivalent to using the
–ld
option. The –ld option still exists for backward compatibility.
■ If neither the –sa or –sd options are specified, the entire CPG is removed, including all LDs.
■ The operation fails if any of the LDs are in use.
cli% removecpg cpg1