Display a list of SnapMirror relationships
For backward compatibility with clustered Data ONTAP 8.1, and to accommodate load-sharing relationships which are only supported in a Data ONTAP 8.1 compatible way, SnapMirror relationships, which match one of the following conditions are managed as on clustered Data ONTAP 8.1: (1) The relationship is of type load-sharing; (2) The source endpoint of the relationship is on a remote Data ONTAP 8.1 cluster; (3) The local cluster was upgraded from clustered Data ONTAP 8.1, the relationship was created before the upgrade, and the relationship has not yet been converted to one with Data ONTAP 8.2 capabilities. These relationships have the same limitations as on clustered Data ONTAP 8.1. Especially, they support the same set of information fields. The "Relationship Capability" field is set to "Pre 8.2" for these relationships.
The snapmirror show command displays information for SnapMirror relationships whose destination endpoints are in the current Vserver if you are in a Vserver context, or in the current cluster if you are in a cluster context, or on a non-Data ONTAP endpoint that supports SnapMirror (for example, AltaVault). For backward compatibility with clustered Data ONTAP 8.1, the command also displays information for SnapMirror relationships with the "Relationship Capability" of "Pre 8.2", and whose source endpoints are in the current Vserver or cluster, and destination endpoints are in different Vservers or clusters. You must use the snapmirror list-destinations command to display information for SnapMirror relationships whose source endpoints are in the current Vserver or current cluster.
Some of the SnapMirror relationship information is cached. The snapmirror show command only returns the cached information, therefore there is a delay after the information is changed before it is reflected in the snapmirror show output. Other information, such as progress metrics during a transfer, is only updated periodically and can be very delayed in the snapmirror show output.
The -instance and -fields parameters are mutually exclusive and select the information fields that are displayed. The other parameters to the snapmirror show command select the SnapMirror relationships for which information is displayed. The -instance displays detailed information fields including:
Source Path: Path of the source endpoint. Destination Path: Path of the destination endpoint. Relationship Type: Type of the SnapMirror relationship. Can be one of the following: - DP: Data protection relationship. - LS: Load-sharing relationship. - XDP: Extended data protection relationship. - RST: Temporary relationship created during a restore operation, and deleted if the operation completes successfully. - TDP: 7-mode to clustered Data ONTAP transition data protection relationship. Relationship Group Type: For FlexVol relationships, specifies the type of the group relationship that includes this FlexVol. For group relationships, specifies the type of the group relationship. Can be one of the following: - none: No group relationship. - vserver: Vserver relationship. - infinitevol: Infinite Volume relationship. - flexgroup: FlexGroup relationship.
Only for relationships with "Relationship Capability" of "8.2 and above". Relationship Status: Status of the SnapMirror relationship. Can be one of the following: - Idle: No transfer operation is in progress and future transfers are not disabled. - Queued: A transfer operation has been accepted and queued in the system, and future transfers are not disabled. - Transferring: A transfer operation is in progress and future transfers are not disabled. - Preparing: Pre-transfer phase for Vault incremental transfers. For Vault relationships only. - Finalizing: Post-transfer phase for Vault incremental transfers. Network traffic will be low as processing is primarily on the destination volume. For Vault relationships only. - Aborting: A transfer abort operation that might include the removal of the checkpoint is underway. Future transfers are not disabled. Only for relationships with "Relationship Capability" of "8.2 and above". - Quiesced: No transfer operation is in progress and future transfers are disabled. - Quiescing: A transfer operation is in progress and future transfers are disabled. - Checking: Destination volume is undergoing a diagnostic check, no transfer is in progress, and future transfers are not disabled. Only for relationships with "Relationship Capability" of "Pre 8.2". - Breaking: The SnapMirror relationship is being broken off and no transfer is in progress.
Mirror State: State of the destination volume. Can be one of the following: - Uninitialized: Destination volume has not been initialized. - Snapmirrored: Destination volume has been initialized and is ready to receive SnapMirror updates. - Broken-off: Destination volume is RW and snapshots are present. Healthy: Condition of the relationship. Can be one of the following: - true: The SnapMirror relationship is healthy. It has not missed a scheduled transfer, or experienced a manual update failure. - false: The SnapMirror relationship is not healthy. It has missed a scheduled transfer, or has experienced a manual update failure. Unhealthy Reason: Reason the SnapMirror relationship is not healthy. Only for relationships with "Relationship Capability" of "8.2 and above" Newest Snapshot: Name of the newest Snapshot copy on the destination volume. Newest Snapshot Timestamp: Timestamp of the newest Snapshot copy. Exported Snapshot: Name of the exported Snapshot copy on the destination volume. Exported Snapshot Timestamp: Timestamp of the exported Snapshot copy. Lag Time: Time since the exported Snapshot copy was created. It is displayed in the format: hours:minutes:seconds. Only for relationships with "Relationship Capability" of "8.2 and above". Transfer Type: Type of the current transfer operation. Can be one of the following: - initialize - update - resync - restore Only for relationships with "Relationship Capability" of "8.2 and above". Transfer Snapshot: Name of the Snapshot copy being transferred. Snapshot Progress: Amount of data transferred for the transfer snapshot. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Total Progress: Total amount of data transferred for the current transfer operation. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Network Compression Ratio: The compression ratio achieved for the data sent over the wire as a part of the current transfer operation. The ratio is not maintained across checkpoint restarts. If network compression is disabled for the transfer, the ratio will be set to 1:1. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Snapshot Checkpoint: The amount of data transferred as recorded in the restart checkpoint of the current or most recent transfer snapshot. If a restart checkpoint is present the next transfer will continue from the checkpoint. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Transfer Error: Possible transient error condition if any, encountered by the current transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Current Throttle: The maximum transfer rate in Kilobytes per second, used for the current transfer between clusters. Only for relationships with "Relationship Capability" of "8.2 and above". Current Transfer Priority: Priority assigned to the current transfer. Possible values are: - low - normal Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Type: Type of the previous transfer operation: - initialize - update - resync - restore Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Size: Total amount of data transferred during the previous transfer operation if it was successful. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Last Transfer Network Compression Ratio: The compression ratio achieved for the data sent over the wire as a part of the previous transfer operation. If network compression was disabled for the transfer, the ratio will be set to 1:1. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Last Transfer Duration: Duration of the previous transfer operation if it was successful. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer From: Source endpoint of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer End Timestamp: Timestamp of the end of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Error: Cause of the failure of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Relationship Capability: Management and control compatibility: - "Pre 8.2": Management and control of the relationship is compatible with clustered Data ONTAP 8.1. - "8.2 and above": Full support of clustered Data ONTAP 8.2 or later SnapMirror relationship management and control. This parameter is not supported for Vserver SnapMirror relationships. Relationship ID: The unique identifier of the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Current Operation ID: Operation unique identifier of the currently executing SnapMirror operation. Only for relationships with "Relationship Capability" of "8.2 and above". Throttle (KB/sec): Configured maximum transfer rate for cross-cluster transfers. SnapMirror Policy Type: Type of the SnapMirror policy associated with the relationship. Can be one of the following: - async-mirror - vault - mirror-vault
Refer to the man page for the snapmirror policy create command for a description of what these types mean. Only for relationships with "Relationship Capability" of "8.2 and above". SnapMirror Policy: Name of the SnapMirror policy associated with the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". SnapMirror Schedule: Name of the schedule (empty if there is no schedule) associated with the relationship. Tries Limit: Maximum number of times a transfer will be tried. Only for relationships with "Relationship Capability" of "Pre 8.2". This parameter is not supported for Vserver SnapMirror relationships. Constituent Relationship: Whether or not the SnapMirror relationship is between Infinite Volume constituent volumes. Can be: - true: The relationship is between constituent volumes. - false: The relationship is not between constituent volumes. This parameter is not supported for FlexGroup or FlexGroup constituent SnapMirror relationships. Destination Volume Node: Node which owns the destination volume of the relationship. For FlexGroup relationships it is the node which owns the root constituent destination volume. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Identity Preserve Vserver DR: Whether or not the identity of the source Vserver is replicated to the destination Vserver. Can be: - true: Source Vserver's configuration will additionally be replicated to the destination, along with the Vserver's volumes and RBAC configuration. - false: Only volumes and RBAC configuration of the source Vserver is replicated to the destination. This parameter is supported only for Vserver SnapMirror relationships. Volume MSIDs Preserved: Whether or not the MSIDs of the source volumes are retained while creating destination volumes. Can be: - true: MSIDs of source Vserver volumes and destination Vserver volumes match. - false: MSIDs of source Vserver volumes and destination Vserver volumes do not match. This parameter is supported only for Vserver SnapMirror relationships. Number of Successful Updates: The number of successful SnapMirror update operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Updates: The number of failed SnapMirror update operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Successful Resyncs: The number of successful SnapMirror resync operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Resyncs: The number of failed SnapMirror resync operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Successful Breaks: The number of successful SnapMirror break operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Breaks: The number of failed SnapMirror break operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Total Transfer Bytes: Cumulative bytes transferred for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Total Transfer Time: Cumulative total transfer time in seconds for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships.
For backward compatibility with clustered Data ONTAP 8.1, and to accommodate load-sharing relationships which are only supported in a Data ONTAP 8.1 compatible way, SnapMirror relationships, which match one of the following conditions are managed as on clustered Data ONTAP 8.1: (1) The relationship is of type load-sharing; (2) The source endpoint of the relationship is on a remote Data ONTAP 8.1 cluster; (3) The local cluster was upgraded from clustered Data ONTAP 8.1, the relationship was created before the upgrade, and the relationship has not yet been converted to one with Data ONTAP 8.2 capabilities. These relationships have the same limitations as on clustered Data ONTAP 8.1. Especially, they support the same set of information fields. The "Relationship Capability" field is set to "Pre 8.2" for these relationships.
The snapmirror show command displays information for SnapMirror relationships whose destination endpoints are in the current Vserver if you are in a Vserver context, or in the current cluster if you are in a cluster context, or on a non-Data ONTAP endpoint that supports SnapMirror (for example, AltaVault). For backward compatibility with clustered Data ONTAP 8.1, the command also displays information for SnapMirror relationships with the "Relationship Capability" of "Pre 8.2", and whose source endpoints are in the current Vserver or cluster, and destination endpoints are in different Vservers or clusters. You must use the snapmirror list-destinations command to display information for SnapMirror relationships whose source endpoints are in the current Vserver or current cluster.
Some of the SnapMirror relationship information is cached. The snapmirror show command only returns the cached information, therefore there is a delay after the information is changed before it is reflected in the snapmirror show output. Other information, such as progress metrics during a transfer, is only updated periodically and can be very delayed in the snapmirror show output.
The -instance and -fields parameters are mutually exclusive and select the information fields that are displayed. The other parameters to the snapmirror show command select the SnapMirror relationships for which information is displayed. The -instance displays detailed information fields including:
Source Path: Path of the source endpoint. Destination Path: Path of the destination endpoint. Relationship Type: Type of the SnapMirror relationship. Can be one of the following: - DP: Data protection relationship. - LS: Load-sharing relationship. - XDP: Extended data protection relationship. - RST: Temporary relationship created during a restore operation, and deleted if the operation completes successfully. - TDP: 7-mode to clustered Data ONTAP transition data protection relationship. Relationship Group Type: For FlexVol relationships, specifies the type of the group relationship that includes this FlexVol. For group relationships, specifies the type of the group relationship. Can be one of the following: - none: No group relationship. - vserver: Vserver relationship. - infinitevol: Infinite Volume relationship. - flexgroup: FlexGroup relationship.
Under PVR control the following group type is available: - consistencygroup: Consistency Group relationship. There are no Flexvol relationships with group type of consistencygroup, only Consistency Group relationships and item-level relationships.
Only for relationships with "Relationship Capability" of "8.2 and above". Relationship Status: Status of the SnapMirror relationship. Can be one of the following: - Idle: No transfer operation is in progress and future transfers are not disabled. - Queued: A transfer operation has been accepted and queued in the system, and future transfers are not disabled. - Transferring: A transfer operation is in progress and future transfers are not disabled. - Preparing: Pre-transfer phase for Vault incremental transfers. For Vault relationships only. - Finalizing: Post-transfer phase for Vault incremental transfers. Network traffic will be low as processing is primarily on the destination volume. For Vault relationships only. - Aborting: A transfer abort operation that might include the removal of the checkpoint is underway. Future transfers are not disabled. Only for relationships with "Relationship Capability" of "8.2 and above". - Quiesced: No transfer operation is in progress and future transfers are disabled. - Quiescing: A transfer operation is in progress and future transfers are disabled. - Checking: Destination volume is undergoing a diagnostic check, no transfer is in progress, and future transfers are not disabled. Only for relationships with "Relationship Capability" of "Pre 8.2". - Breaking: The SnapMirror relationship is being broken off and no transfer is in progress.
The following values are only applicable to relationships with policy type sync-mirror under PVR control: - OutOfSync: The SnapMirror relationship is not InSync and no async transfer operation is in progress. - PreCutover: The SnapMirror relationship is setting up for the last transfer prior Cutover to InSync. - Cutover: The SnapMirror relationship is transitioning to InSync. - InSync: The SnapMirror relationship is InSync.
Mirror State: State of the destination volume. Can be one of the following: - Uninitialized: Destination volume has not been initialized. - Snapmirrored: Destination volume has been initialized and is ready to receive SnapMirror updates. - Broken-off: Destination volume is RW and snapshots are present. Healthy: Condition of the relationship. Can be one of the following: - true: The SnapMirror relationship is healthy. It has not missed a scheduled transfer, or experienced a manual update failure. - false: The SnapMirror relationship is not healthy. It has missed a scheduled transfer, or has experienced a manual update failure. Unhealthy Reason: Reason the SnapMirror relationship is not healthy. Only for relationships with "Relationship Capability" of "8.2 and above" Newest Snapshot: Name of the newest Snapshot copy on the destination volume. Newest Snapshot Timestamp: Timestamp of the newest Snapshot copy. Exported Snapshot: Name of the exported Snapshot copy on the destination volume. Exported Snapshot Timestamp: Timestamp of the exported Snapshot copy. Lag Time: Time since the exported Snapshot copy was created. It is displayed in the format: hours:minutes:seconds. Only for relationships with "Relationship Capability" of "8.2 and above". Transfer Type: Type of the current transfer operation. Can be one of the following: - initialize - update - resync - restore Only for relationships with "Relationship Capability" of "8.2 and above". Transfer Snapshot: Name of the Snapshot copy being transferred. Snapshot Progress: Amount of data transferred for the transfer snapshot. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Total Progress: Total amount of data transferred for the current transfer operation. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Network Compression Ratio: The compression ratio achieved for the data sent over the wire as a part of the current transfer operation. The ratio is not maintained across checkpoint restarts. If network compression is disabled for the transfer, the ratio will be set to 1:1. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Snapshot Checkpoint: The amount of data transferred as recorded in the restart checkpoint of the current or most recent transfer snapshot. If a restart checkpoint is present the next transfer will continue from the checkpoint. This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Transfer Error: Possible transient error condition if any, encountered by the current transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Current Throttle: The maximum transfer rate in Kilobytes per second, used for the current transfer between clusters. Only for relationships with "Relationship Capability" of "8.2 and above". Current Transfer Priority: Priority assigned to the current transfer. Possible values are: - low - normal Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Type: Type of the previous transfer operation: - initialize - update - resync - restore Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Size: Total amount of data transferred during the previous transfer operation if it was successful. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for SnapMirror FlexGroup relationships, but it is supported for FlexGroup constituent relationships. Last Transfer Network Compression Ratio: The compression ratio achieved for the data sent over the wire as a part of the previous transfer operation. If network compression was disabled for the transfer, the ratio will be set to 1:1. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Last Transfer Duration: Duration of the previous transfer operation if it was successful. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer From: Source endpoint of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer End Timestamp: Timestamp of the end of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Last Transfer Error: Cause of the failure of the previous transfer operation. Only for relationships with "Relationship Capability" of "8.2 and above". Relationship Capability: Management and control compatibility: - "Pre 8.2": Management and control of the relationship is compatible with clustered Data ONTAP 8.1. - "8.2 and above": Full support of clustered Data ONTAP 8.2 or later SnapMirror relationship management and control. This parameter is not supported for Vserver SnapMirror relationships. Relationship ID: The unique identifier of the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Current Operation ID: Operation unique identifier of the currently executing SnapMirror operation. Only for relationships with "Relationship Capability" of "8.2 and above". Throttle (KB/sec): Configured maximum transfer rate for cross-cluster transfers. SnapMirror Policy Type: Type of the SnapMirror policy associated with the relationship. Can be one of the following: - async-mirror - vault - mirror-vault
Under PVR control the following type is available: - sync-mirror
Refer to the man page for the snapmirror policy create command for a description of what these types mean. Only for relationships with "Relationship Capability" of "8.2 and above". SnapMirror Policy: Name of the SnapMirror policy associated with the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". SnapMirror Schedule: Name of the schedule (empty if there is no schedule) associated with the relationship. Tries Limit: Maximum number of times a transfer will be tried. Only for relationships with "Relationship Capability" of "Pre 8.2". This parameter is not supported for Vserver SnapMirror relationships. Constituent Relationship: Whether or not the SnapMirror relationship is between Infinite Volume constituent volumes. Can be: - true: The relationship is between constituent volumes. - false: The relationship is not between constituent volumes. This parameter is not supported for FlexGroup or FlexGroup constituent SnapMirror relationships. Destination Volume Node: Node which owns the destination volume of the relationship. For FlexGroup relationships it is the node which owns the root constituent destination volume. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Identity Preserve Vserver DR: Whether or not the identity of the source Vserver is replicated to the destination Vserver. Can be: - true: Source Vserver's configuration will additionally be replicated to the destination, along with the Vserver's volumes and RBAC configuration. - false: Only volumes and RBAC configuration of the source Vserver is replicated to the destination. This parameter is supported only for Vserver SnapMirror relationships. Volume MSIDs Preserved: Whether or not the MSIDs of the source volumes are retained while creating destination volumes. Can be: - true: MSIDs of source Vserver volumes and destination Vserver volumes match. - false: MSIDs of source Vserver volumes and destination Vserver volumes do not match. This parameter is supported only for Vserver SnapMirror relationships. Number of Successful Updates: The number of successful SnapMirror update operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Updates: The number of failed SnapMirror update operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Successful Resyncs: The number of successful SnapMirror resync operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Resyncs: The number of failed SnapMirror resync operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Successful Breaks: The number of successful SnapMirror break operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Number of Failed Breaks: The number of failed SnapMirror break operations for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Total Transfer Bytes: Cumulative bytes transferred for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver or FlexGroup SnapMirror relationships, but it is supported for FlexGroup constituent relationships. Total Transfer Time: Cumulative total transfer time in seconds for the relationship. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships.
The following fields are available only under PVR control for relationships with policy type sync-mirror.
Number of Successful PCS: The number of successful Pseudo Common Snapshot copy creation operations for the relationship. Pseudo Common Snapshot copies are created periodically for use by SnapMirror so that there is always a comparatively recent common Snapshot copy that can be used to get a relationship with policy type sync-mirror back InSync quickly. Number of Failed PCS: The number of failed Pseudo Common Snapshot copy creation operations for the relationship. Average Time of Resync Operations: Average duration in seconds of resync operations on relationships with policy type sync-mirror.
The following fields are available only at the diagnostic privilege level:
Last Transfer Error Codes: Set of Data ONTAP internal error codes providing information on the context of the previous transfer failure. Only for relationships with "Relationship Capability" of "8.2 and above". This parameter is not supported for Vserver SnapMirror relationships. Source Vserver UUID: The unique identifier of the source Vserver. Only for relationships with "Relationship Capability" of "8.2 and above". Destination Vserver UUID: The unique identifier of the destination Vserver. Only for relationships with "Relationship Capability" of "8.2 and above".
The example below displays summary information for all SnapMirror relationships with destination endpoints in the current cluster:
cluster2::> snapmirror show Source Destination Mirror Relationship Total Last Path Type Path State Status Progress Healthy Updated ----------- ---- ------------ ------- -------------- --------- ------- -------- cluster1-vs2.example1.com: DP cluster2-dvs2.example2.com: Snapmirrored Idle - true - cluster2-vs1.example.com:dp_src1 DP cluster2-vs2.example.com:dp_dst1 Snapmirrored Idle - true - cluster2-vs1.example.com:xdp_src1 XDP cluster2-vs2.example.com:xdp_dst1 Snapmirrored Idle - true - cluster2://cluster2-vs1.example.com/ls_src1 LS cluster2://cluster2-vs1.example.com/ls_mr1 Snapmirrored Idle - true - cluster2://cluster2-vs1.example.com/ls_mr2 Snapmirrored Idle - true - 5 entries were displayed.
The example below displays detailed information for the SnapMirror relationship with the destination endpoint cluster2-vs2.example.com:dp_dst1.
cluster2::> snapmirror show -destination-path cluster2-vs2.example.com:dp_dst1 Source Path: cluster2-vs1.example.com:dp_src1 Destination Path: cluster2-vs2.example.com:dp_dst1 Relationship Type: DP Relationship Group Type: none SnapMirror Schedule: - SnapMirror Policy Type: async-mirror SnapMirror Policy: DPDefault Tries Limit: - Throttle (KB/sec): unlimited Mirror State: Snapmirrored Relationship Status: Idle Transfer Snapshot: - Snapshot Progress: - Total Progress: - Network Compression Ratio: - Snapshot Checkpoint: - Newest Snapshot: snapmirror.3d19af37-8f5e-11e1-8c83-123478563412_2147484676.2012-04-27_025137 Newest Snapshot Timestamp: 04/27 02:51:42 Exported Snapshot: snapmirror.3d19af37-8f5e-11e1-8c83-123478563412_2147484676.2012-04-27_025137 Exported Snapshot Timestamp: 04/27 02:51:42 Healthy: true Unhealthy Reason: - Constituent Relationship: false Destination Volume Node: cluster2-node1 Relationship ID: cdc70a81-8f5f-11e1-8392-123478563412 Current Operation ID: - Transfer Type: - Transfer Error: - Current Throttle: - Current Transfer Priority: - Last Transfer Type: update Last Transfer Error: - Last Transfer Size: 530.2MB Last Transfer Network Compression Ratio: 111.7:1 Last Transfer Duration: 0:2:53 Last Transfer From: cluster2-vs1.example.com:dp_src1 Last Transfer End Timestamp: 04/27 02:51:45 Progress Last Updated: - Relationship Capability: 8.2 and above Lag Time: 133:50:40 Identity Preserve Vserver DR: - Volume MSIDs Preserved: - Number of Successful Updates: 1 Number of Failed Updates: 0 Number of Successful Resyncs: 0 Number of Failed Resyncs: 0 Number of Successful Breaks: 0 Number of Failed Breaks: 0 Total Transfer Bytes: 663552 Total Transfer Time in Seconds: 3
The example below displays detailed information for SnapMirror relationships with the Relationship Capability of "Pre 8.2" source or destination endpoints in the current cluster.
cluster2::> snapmirror show -relationship-capability "Pre 8.2" -instance Source Path: cluster2://cluster2-vs1.example.com/ls_src1 Destination Path: cluster2://cluster2-vs1.example.com/ls_mr1 Relationship Type: LS Relationship Group Type: - SnapMirror Schedule: - SnapMirror Policy Type: - SnapMirror Policy: - Tries Limit: 8 Throttle (KB/sec): unlimited Mirror State: Snapmirrored Relationship Status: Idle Transfer Snapshot: - Snapshot Progress: - Total Progress: - Network Compression Ratio: - Snapshot Checkpoint: - Newest Snapshot: snapmirror.3d4e52c5-8f5c-11e1-8392-123478563412_3_2147484684.2012-05-02_163506 Newest Snapshot Timestamp: 05/02 16:35:06 Exported Snapshot: snapmirror.3d4e52c5-8f5c-11e1-8392-123478563412_3_2147484684.2012-05-02_163506 Exported Snapshot Timestamp: 05/02 16:35:06 Healthy: true Unhealthy Reason: - Constituent Relationship: false Destination Volume Node: - Relationship ID: - Current Operation ID: - Transfer Type: - Transfer Error: - Last Transfer Type: - Last Transfer Error: - Last Transfer Size: - Last Transfer Network Compression Ratio: - Last Transfer Duration: - Last Transfer From: - Last Transfer End Timestamp: - Progress Last Updated: - Relationship Capability: Pre 8.2 Lag Time: - SnapMirror Policy: - Identity Preserve Vserver DR: - Volume MSIDs Preserved: - Number of Successful Updates: - Number of Failed Updates: - Number of Successful Resyncs: - Number of Failed Resyncs: - Number of Successful Breaks: - Number of Failed Breaks: - Total Transfer Bytes: - Total Transfer Time in Seconds: - Source Path: cluster2://cluster2-vs1.example.com/ls_src1 Destination Path: cluster2://cluster2-vs1.example.com/ls_mr2 Relationship Type: LS Relationship Group Type: - SnapMirror Schedule: - SnapMirror Policy Type: - SnapMirror Policy: - Tries Limit: 8 Throttle (KB/sec): unlimited Mirror State: Snapmirrored Relationship Status: Idle Transfer Snapshot: - Snapshot Progress: - Total Progress: - Network Compression Ratio: - Snapshot Checkpoint: - Newest Snapshot: snapmirror.3d4e52c5-8f5c-11e1-8392-123478563412_3_2147484684.2012-05-02_163506 Newest Snapshot Timestamp: 05/02 16:35:06 Exported Snapshot: snapmirror.3d4e52c5-8f5c-11e1-8392-123478563412_3_2147484684.2012-05-02_163506 Exported Snapshot Timestamp: 05/02 16:35:06 Healthy: true Unhealthy Reason: - Constituent Relationship: false Destination Volume Node: - Relationship ID: - Current Operation ID: - Transfer Type: - Transfer Error: - Last Transfer Type: - Last Transfer Error: - Last Transfer Size: - Last Transfer Network Compression Ratio: - Last Transfer Duration: - Last Transfer From: - Last Transfer End Timestamp: - Progress Last Updated: - Relationship Capability: Pre 8.2 Lag Time: - SnapMirror Policy: - Identity Preserve Vserver DR: - Volume MSIDs Preserved: - Number of Successful Updates: - Number of Failed Updates: - Number of Successful Resyncs: - Number of Failed Resyncs: - Number of Successful Breaks: - Number of Failed Breaks: - Total Transfer Bytes: - Total Transfer Time in Seconds: - 2 entries were displayed.
The example below displays detailed information for the Vserver SnapMirror relationship with the destination endpoint cluster2-dvs2.example2.com:.
cluster2::> snapmirror show -destination-path cluster2-dvs2.example2.com: Source Path: cluster1-vs2.example1.com: Destination Path: cluster2-dvs2.example2.com: Relationship Type: DP Relationship Group Type: - SnapMirror Schedule: - SnapMirror Policy Type: async-mirror SnapMirror Policy: DPDefault Tries Limit: - Throttle (KB/sec): unlimited Mirror State: Snapmirrored Relationship Status: Idle File Restore File Count: - File Restore File List: - Transfer Snapshot: - Snapshot Progress: - Total Progress: - Network Compression Ratio: - Snapshot Checkpoint: - Newest Snapshot: vserverdr.1d519e9c-7838-11e3-91fb-123478563412.2014-01-13_110707 Newest Snapshot Timestamp: 01/13 11:07:07 Exported Snapshot: vserverdr.1d519e9c-7838-11e3-91fb-123478563412.2014-01-13_110707 Exported Snapshot Timestamp: 01/13 11:07:07 Healthy: true Unhealthy Reason: - Constituent Relationship: false Destination Volume Node: - Relationship ID: - Operation ID: - Transfer Type: - Transfer Error: - Current Throttle: - Current Transfer Priority: - Last Transfer Type: resync Last Transfer Error: - Last Transfer Size: - Last Transfer Network Compression Ratio: - Last Transfer Duration: - Last Transfer From: cluster1-vs2.example1.com: Last Transfer End Timestamp: - Progress Last Updated: - Relationship Capability: - Lag Time: 18:47:9 Identity Preserve Vserver DR: false Volume MSIDs Preserved: true Number of Successful Updates: - Number of Failed Updates: - Number of Successful Resyncs: - Number of Failed Resyncs: - Number of Successful Breaks: - Number of Failed Breaks: - Total Transfer Bytes: - Total Transfer Time in Seconds: -
The following example displays detailed information for the SnapMirror relationship with the non-Data ONTAP (for example, AltaVault) destination endpoint 10.0.0.11:/share/share1:
cluster2::> snapmirror show -destination-path 10.0.0.11:/share/share1 Source Path: cluster2-vs1.example.com:data_ontap_vol Destination Path: 10.0.0.11:/share/share1 Relationship Type: XDP Relationship Group Type: none SnapMirror Schedule: - SnapMirror Policy Type: vault SnapMirror Policy: XDPDefault Tries Limit: - Throttle (KB/sec): unlimited Mirror State: Snapmirrored Relationship Status: Idle Transfer Snapshot: - Snapshot Progress: - Total Progress: - Network Compression Ratio: - Snapshot Checkpoint: - Newest Snapshot: snapmirror.3d19af37-8f5e-11e1-8c83-123478563412_2147484676.2012-04-27_025137 Newest Snapshot Timestamp: 04/27 02:51:42 Exported Snapshot: snapmirror.3d19af37-8f5e-11e1-8c83-123478563412_2147484676.2012-04-27_025137 Exported Snapshot Timestamp: 04/27 02:51:42 Healthy: true Unhealthy Reason: - Constituent Relationship: false Destination Volume Node: - Relationship ID: cdc70a81-8f5f-11e1-8392-123478563463 Current Operation ID: - Transfer Type: - Transfer Error: - Current Throttle: - Current Transfer Priority: - Last Transfer Type: update Last Transfer Error: - Last Transfer Size: 530.2MB Last Transfer Network Compression Ratio: 1:1 Last Transfer Duration: 0:2:53 Last Transfer From: cluster2-vs1.example.com:data_ontap_vol Last Transfer End Timestamp: 04/27 02:51:45 Progress Last Updated: - Relationship Capability: 8.2 and above Lag Time: 133:50:40 Identity Preserve Vserver DR: - Volume MSIDs Preserved: - Number of Successful Updates: 1 Number of Failed Updates: 0 Number of Successful Resyncs: 0 Number of Failed Resyncs: 0 Number of Successful Breaks: 0 Number of Failed Breaks: 0 Total Transfer Bytes: 663552 Total Transfer Time in Seconds: 3
The example shows the usage of the -expand parameter to additionally display the constituents of Vserver SnapMirror relationships with destination endpoints in the current cluster. Note that in the following example, since there is no volume level relationship for the root volume of a Vserver, it is not shown in the output:
cluster2::> snapmirror show -expand Progress Source Destination Mirror Relationship Total Last Path Type Path State Status Progress Healthy Updated ----------- ---- ------------ ------- -------------- --------- ------- -------- cluster1-vs1.example1.com: DP cluster2-dvs1.example2.com: Snapmirrored Idle - true - cluster1-vs1.example1.com:vol1 DP cluster2-dvs1.example2.com:vol1 Snapmirrored Idle - true - cluster1-vs2.example1.com: DP cluster2-dvs2.example2.com: Snapmirrored Idle - true - cluster1-vs2.example1.com:vol1 DP cluster2-dvs2.example2.com:vol1 Snapmirrored Idle - true - 4 entries were displayed.