Skip to main content
ONTAP commands

vserver consistency-group snapshot start

Suggest changes

Start a 2 phase Snapshot copy for a consistency group

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

Description

The vserver consistency-group snapshot start command starts a 2-phase snapshot of a specified consistency group.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the Vserver that contains the consistency group where the snapshot is to be started.

-consistency-group <text> - Consistency Group Name

This parameter specifies the consistency group where a snapshot is to be started.

-snapshot <snapshot name> - Snapshot Copy Name

This parameter specifies the name of the snapshot that is to be started.

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

This parameter specifies the parent consistency group where a snapshot is to be started for a child consistency group.

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

This parameter optionally specifies the consistency level of a snapshot. The default value is crash .

[-comment <text>] - Comment

This parameter optionally specifies the comment associated with a snapshot.

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

This parameter optionally specifies the label associated with a snapshot.

[-start-timeout <integer>] - Timeout for 2-phase snapshot

This parameter optionally specifies the timeout limit for the snapshot to be started. The default value is 7 seconds.

[-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.

Examples

+ The following example starts a 2-phase snapshot named snap2 on a child consistency group named childCg in parent consistency group parentCg on a Vserver named vs0. The snapshot has start-timeout set to "90".
cluster1::> vserver consistency-group snapshot start -vserver vs0 -consistency-group childCg -parent-consistency-group parentCg -snapshot snap2 -start-timeout 90
          (vserver consistency-group snapshot start)