Skip to main content

vserver consistency-group clone create

Contributors
Suggest changes

Create a consistency group clone

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

Description

The vserver consistency-group clone create command creates a clone of a specified consistency group. It also takes in an optional parameter source-snapshot-name to use for creating the clone. Only parent consistency groups support cloning.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group whose clone is to be created.

-clone-consistency-group <text> - Consistency Group Name of the Clone

This parameter specifies the name of the clone consistency group.

-source-parent-consistency-group <text> - Parent Consistency Group Name of the Source

This parameter specifies the name of the source parent consistency group to be cloned.

[-source-snapshot-name <snapshot name>] - Snapshot of the Source Consistency Group

This parameter optionally specifies the Snapshot copy of the source parent consistency group to be used for creating the clone.

[-space-guarantee {none|volume}] - Space Guarantee Style

This parameter optionally specifies the space guarantee style for the FlexClone volumes in the clone consistency group. A value of volume reserves space on the aggregate for the entire volume. A value of none reserves no space on the aggregate, meaning that writes can fail if the aggregate runs out of space. The default setting is inherited from the parent volume in the source parent consistency group.

[-split-after-clone <true>] - Split clone Volumes

This parameter optionally specifies if the FlexClone volumes within the clone consistency group would be split from their parent volume in the source parent consistency group after the FlexClone volume is created.

[-clone-volume-prefix <text>] - Clone Volume Name Prefix

This parameter specifies an optional volume name prefix for cloned volumes in the clone consistency group.

[-clone-volume-suffix <text>] - Clone Volume Name Suffix

This parameter specifies an optional volume name suffix for cloned volumes in the clone consistency group.

Examples

The following example creates a clone clone1 of the source parent consistency group container1 on Vserver vs0. The space guarantee of the cloned volumes under the clone consistency group is volume and the volume names have a prefix clone1 and suffix of clone1end. The cloned volumes have split initiated as True to split the clones from the parent volumes.

cluster1::> vserver consistency-group clone create -vserver vs0 -clone-consistency-group clone1 -source-parent-consistency-group container1 -space-guarantee volume -clone-volume-prefix clone1 -clone-volume-suffix clone1end -split-initiated true
        (vserver consistency-group clone create)
    [Job 264] Job succeeded: Success