Skip to main content

vserver consistency-group volume add

Contributors
Suggest changes

Add a volume to the consistency group

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver consistency-group volume add adds existing volumes to a consistency group.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group to which the volumes will be added.

-consistency-group <text> - Consistency Group

This parameter specifies the consistency group to which the volumes will be added.

[-parent-consistency-group <text>] - Parent Consistency Group

This parameter specifies the parent consistency group to which the volumes will be added.

-volume <text> - Volume

This parameter specifies the volume to be added to the consistency group.

Examples

The following example will add volumes vol1,vol2 to a child consistency group named cg in parent consistency group parentCg on a Vserver named vs0.

cluster1::> vserver consistency-group volume add -vserver vs0 -consistency-group cg -parent-consistency-group parentCg -volume vol1,vol2
          (vserver consistency-group volume add)
        [Job 100] Job succeeded: Success