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 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 created.
-consistency-group <text>
- Consistency Group Name-
This parameter specifies the consistency group where a snapshot is to be created.
[-parent-consistency-group <text>]
- Parent Consistency Group Name-
This parameter specifies the parent consistency group where a snapshot is to be created.
-snapshot <snapshot name>
- Snapshot Copy Name-
This parameter specifies the name of the snapshot that is to be created.
[-consistency-type {crash|application}]
- Consistency Type-
This parameter specifies the consistency level of a snapshot to be created. The default value is
crash
. [-comment <text>]
- Comment-
This parameter specifies the comment associated with a snapshot to be created.
[-snapmirror-label <text>]
- Snapmirror Label-
This parameter specifies the label associated with a snapshot 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.
Examples
The following example creates a snapshot named snap1 on a child consistency group named cg1 in parent consistency group parentCg on a Vserver named vs0. The snapshot has a comment "Feb golden image", 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 "Feb golden image" -snapmirror-label "Label" -consistency-type crash (vserver consistency-group snapshot create) [Job 100] Job succeeded: Success