Skip to main content

vserver consistency-group detach

Contributors
Suggest changes

Detach a child consistency group from an existing parent consistency group

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

Description

The vserver consistency-group detach command can be used to detach a child consistency group from its parent, to be on its own. If this was the only child under that parent, the parent consistency group will be deleted.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group that is to be detached.

-parent-consistency-group <text> - Parent Consistency Group Name

This parameter specifies the parent consistency group.

-consistency-group <text> - Consistency Group to Detach

This parameter specifies the consistency group that is to be detached.

[-new-name <text>] - New name for the Detached Consistency Group

This parameter optionaly specifies a new name for the detached consistency group.

Examples

The following command detaches the consistency group childCG from its parent Consistency Group parentCG in Vserver vs0, which is renamed to singleCG at removal.

cluster1::> vserver consistency-group detach -vserver vs0 -parent-consistency-group parentCG -consistency-group childCG -new-name singleCG
        (vserver consistency-group detach)
[Job 174] Job succeeded: Success