vserver consistency-group volume reassign
Reasign a volume to a different consistency group.
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver consistency-group volume reassign
will reassign volumes from one child consistency group to another child consistency group within a parent consistency group.
Parameters
-vserver <Vserver Name>
- Vserver Name-
This parameter specifies the Vserver that contains the consistency group from which the volumes are reassigned.
-consistency-group <text>
- Consistency Group-
This parameter specifies the consistency group from which the volumes are detached.
-parent-consistency-group <text>
- Parent Consistency Group-
This parameter specifies the parent consistency group from which the volumes are detached.
-volume <text>
- Volume-
This parameter specifies the volumes which are reassigned.
- {
-new-consistency-group <text>
- New Consistency Group -
This optional parameter specifies a new child consistency group to which the volumes are reassigned and attached to.
- |
-destination-consistency-group <text>
- Destination Consistency Group } -
This optional parameter specifies existing child consistency group to which the volumes are reassigned and attached to.
Examples
The following example will reassign volumes vol1,vol2 from child consistency group named cg in parent consistency group parentCg on a Vserver named vs0 to new child consistency group new_cg.
cluster1::> vserver consistency-group volume reassign -vserver vs0 -consistency-group cg -parent-consistency-group parentCg -volume vol1,vol2 -new-consistency-group new_cg (vserver consistency-group volume reassign) [Job 100] Job succeeded: Success