* 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.
The
consistency-group add-virtual-volumes command adds the specified
virtual volume to the consistency group.