ONTAP 9.15.1 commands

vserver consistency-group snapshot create

Create a new consistency group Snapshot copy

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

Description

The vserver consistency-group snapshot create command creates a Snapshot copy of a specified consistency group.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group where the Snapshot copy is to be created.

-consistency-group <text> - Consistency Group Name

This parameter specifies the consistency group where a Snapshot copy is to be created.

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

This parameter specifies the parent consistency group where a Snapshot copy is to be created.

-snapshot <snapshot name> - Snapshot Copy Name

This parameter specifies the name of the Snapshot copy that is to be created.

[-consistency-type {crash|application}] - Consistency Type

This parameter specifies the consistency level of a Snapshot copy to be created. The default value is crash .

[-comment <text>] - Comment

This parameter specifies the comment associated with a Snapshot copy to be created.

[-snapmirror-label <text>] - Snapmirror Label

This parameter specifies the label associated with a Snapshot copy to be created.

[-write-fence {true|false}] - Take write fence

This parameter specifies if a write fence is taken on the volumes in the consistency group while creating a Snapshot copy.

Examples

The following example creates a Snapshot copy named snap1 on a child consistency group named cg1 in parent consistency group parentCg on a Vserver named vs0. The Snapshot copy has a comment "A Snapshot copy", a Snapmirror label "Label" and is crash-consistent.

cluster1::> vserver consistency-group snapshot create -vserver vs0 -consistency-group cg1 -parent-consistency-group parentCg -snapshot snap1 -comment "A Snapshot copy" -snapmirror-label "Label" -consistency-type crash
        (vserver consistency-group snapshot create)
    [Job 100] Job succeeded: Success
Top of Page