Skip to main content

vserver consistency-group show

Contributors
Suggest changes

Display a list of existing consistency groups

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

Description

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

Parameters

{ [-fields <fieldname>,…​]

This specifies the fields that need to be displayed.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver Name

Selects information about the consistency groups in the specified Vserver.

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

Selects information about the specified consistency group.

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

Selects information about the specified parent consistency group.

[-qos-policy <text>] - QoS Policy Group

Selects information about the consistency groups that have the specified QoS policy.

[-tiering-policy <Tiering Policy>] - Tiering Policy

Selects information about the consistency groups that have the specified tiering policy.

[-snapshot-policy <snapshot policy>] - Snapshot Copy Policy

Selects information about the consistency groups that have the specified snapshot policy.

[-application-type <Application type for the parent or top level CG>] - Application Type

Selects information about the consistency groups that have the specified application type.

[-application-component-type <Application component type for child CG>] - Application Component Type

Selects information about the consistency groups that have the specified application component type.

[-size {<integer>[KB|MB|GB|TB|PB]}] - Provisioned Size

Selects information about the consistency groups that have the specified size.

[-state {online|creating|deleting|modifying|restoring}] - State

Selects information about the consistency groups that have the specified state.

[-uuid <UUID>] - Consistency Group UUID

Selects information about the consistency group that mathches the specified consistency group UUID.

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

Selects information about the consistency groups that have the specified creation time.

[-space-available {<integer>[KB|MB|GB|TB|PB]}] - Available Space

Selects information about the consistency groups that have the specified available space.

[-space-used {<integer>[KB|MB|GB|TB|PB]}] - Space Used

Selects information about the consistency groups that have the specified used space.

[-replicated {true|false}] - Is Replicated

Selects information about the consistency groups that have the specified replicated status.

[-replication-policy <text>] - Replication Policy Name

Selects information about the consistency groups that have the specified replication policy.

[-replication-source {true|false}] - Is Replication Source

Selects information about the consistency groups that have the specified replication source.

Examples

The following command lists all the consistency groups on Vserver vs0.

vserver consistency-group show -vserver vs0
  (vserver consistency-group show)
                         Parent
           Consistency   Consistency
Vserver    Group         Group         State   Size       Available  Used
---------- ------------- ------------- ------- ---------- ---------- ---------
svm1       cg1           -             online     315.8MB    299.1MB     908KB
svm1       cg2           -             online     105.3MB    99.72MB     288KB
svm1       cg3           cg1           online     315.8MB    299.1MB     908KB
3 entries were displayed.
The following command shows the statistics for consistency group cg1 on Vserver vs0.
    SimpleClus::*> consistency-group show -vserver vs0 -consistency-group cg1 -statistic
  (vserver consistency-group show)
                         Parent
           Consistency   Consistency
Vserver    Group         Group
---------- ------------- -------------
svm1       cg1           -
Last calculated statistic        Value
-------------------------       ------
timestamp-metric                11/13/2023 21:11:00
duration                        PT15S
status-metric                   ok
available-space-metric          156946432
used-space-metric               344064
size-metric                     165568512
iops-other-metric               0
iops-read-metric                0
iops-write-metric               0
iops-total-metric               0
latency-other-metric            0
latency-read-metric             0
latency-write-metric            0
latency-total-metric            0
throughput-other-metric         -
throughput-read-metric          0
throughput-write-metric         0
throughput-total-metric         0
Raw statistics                  Value
---------------                 ------
timestamp-raw                   11/13/2023 21:11:02
status-raw                      ok
available-space-raw             156946432
used-space-raw                  344064
size-raw                        165568512
iops-other-raw                  0
iops-read-raw                   0
iops-write-raw                  0
iops-total-raw                  0
latency-other-raw               0
latency-read-raw                0
latency-write-raw               0
latency-total-raw               0
throughput-other-raw            -
throughput-read-raw             0
throughput-write-raw            0
throughput-total-raw            0