CLI Guide

Table Of Contents
consistency-group add-virtual-volumes
Adds one or more virtual volume to a consistency group.
Contexts
All contexts.
In /clusters/cluster-n/consistency-groups/group-name context, command is add-virtual-volumes
Syntax
consistency-group add-virtual-volumes
[-v|--virtual-volumes] virtual-volume, virtual-volume, ...
[-g|--consistency-group] consistency-group
Arguments
Required arguments
[-v|--virtual-volumes]
virtual-volume,virtual-volume,...
* List of one or more comma-separated glob patterns or context paths of the virtual volume
to add.
[-g|--consistency-
group] consistency-group
* Context path of the consistency group to which to add the specified virtual volume. If the
current context is a consistency-group or below, then that consistency group is the default.
Otherwise, this argument is required.
* - argument is positional.
Description
Adds the specified virtual volume to a consistency group. The properties of the consistency group immediately apply to the
added volume.
NOTE:
Only volumes with visibility and storage-at-cluster properties which match those of the consistency
group can be added to the consistency group.
Additionally, you cannot add a virtual volume to a consistency group if the initialization status of the virtual volume is
failed or in-progress.
Maximum # of volumes in a consistency group: 1000
All volumes used by the same application and/or same host should be grouped together in a consistency group.
If any of the specified volumes are already in the consistency group, the command skips those volumes, but prints a warning
message for each one.
Examples
Add multiple volumes using a single command. Separate virtual volume by commas:
In the following example:
The cd command changes the context to the target consistency group.
The consistency-group list-eligible-virtual-volumes command displays virtual volumes that are eligible to
be added to the consistency group.
96
Commands