Skip to main content
ONTAP 9.16.1 commands

vserver consistency-group snapshot show

Contributors
Suggest changes

Display a list of existing consistency group Snapshot Copies

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

Description

The command displays information for consistency group snapshots. Use the ` instance ` parameter to display additional consistency group snapshot details.

Parameters

{ [-fields <fieldname>,…​]

This specifies the fields that will be displayed.

| [-instance ] }

Selects detailed information about all fields about the consistency group snapshots.

[-vserver <Vserver Name>] - Vserver Name

Selects information about the consistency group snapshots with a specified Vserver.

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

Selects information about the consistency group snapshots with a specified consistency group.

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

Selects information about the consistency group snapshots with a specified parent consistency group.

[-snapshot <snapshot name>] - Snapshot Copy Name

Selects information about the specified consistency group snapshot.

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

Selects information about the consistency group snapshots with a specified consistency type.

[-comment <text>] - Comment

Selects information about the consistency group snapshots with a specified comment.

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

Selects information about the consistency group snapshots with a specified SnapMirror label.

[-create-time <Date>] - Create Time

Selects information about the consistency group snapshots with a specified create time.

[-pg-generation <integer>] - Protection Group Generation

Selects information about the consistency group snapshots with a specified pg generation.

[-is-partial {true|false}] - Is Snapshot Copy Partial?

Selects information about the consistency group snapshots with a specified partial state.

[-snapshot-volumes <volume name>,…​] - List of Volume Names with this Snapshot Copy

Selects information about the consistency group snapshots with specified snapshot volumes.

[-missing-volumes <volume name>,…​] - List of Volume Names Missing this Snapshot Copy

Selects information about the consistency group snapshots with specified missing volumes.

[-snapshot-uuid <UUID>] - Snapshot UUID

Selects information about the consistency group snapshot that matches the specified snapshot UUID.

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

Selects information about the consistency group snapshots that matches the specified write fence value.

Examples

The following command lists all the snapshots that are associated with consistency groups on Vserver svm1.

cluster1::> vserver consistency-group snapshot show -vserver svm1
        (vserver consistency-group snapshot show)
                         Parent
           Consistency   Consistency                 Create
Vserver    Group         Group         Snapshot      Time
---------- ------------- ------------- ------------- ---------------
svm1       cg1 -             snap1         Thu Jun 08 12:00:00 2023
svm1       cg2 -             snap2         Thu Jun 08 1:00:00 2023
2 entries were displayed.