Displays history of SnapMirror operations.
The snapmirror show-history command displays the history of SnapMirror operations. This command is not supported for relationships with non-Data ONTAP endpoints.
By default, the command displays the following information:
The -instance parameter displays the following detailed information:
Destination Path: Path of the destination endpoint. Source Path: Path of the source endpoint. Relationship ID: The unique identifier of the relationship. This parameter is not supported for Vserver SnapMirror relationships. 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. - flexgroup: FlexGroup relationship. Operation: Type of the operation. Can be one of the following: - create - modify - quiesce - resume - delete - initialize - manual update - scheduled update - break - resync - abort - restore Operation ID: The unique identifier of the operation. Start Time: Timestamp of the start of the operation. End Time: Timestamp of the end of the operation. Result: Result of the SnapMirror operation. Can be one of the following: - success - failure Transfer Size: Total amount of data transferred during the SnapMirror operation. Additional Information: A message describing the cause of the failure or additional information about a successful operation, such as if a checkpoint was cleared as part of an abort operation.
The example below displays summary information for all SnapMirror operations on relationships with destination endpoints in the current cluster:
cluster2::> snapmirror show-history Destination Source Start End Path Path Operation Time Time Result ----------- ----------- --------- ----------- ----------- ------- dvs2: vs2: create 8/15/2013 08:22:23 8/15/2013 08:22:25 success vs1:vol1 vs1:aggr1 manual-update 8/15/2013 08:22:44 8/15/2013 08:22:44 failure vs1:vol1 vs1:aggr1 initialize 8/15/2013 08:22:25 8/15/2013 08:22:26 success vs1:vol1 vs1:aggr1 create 8/15/2013 08:22:15 8/15/2013 08:22:16 success vs1:vol2 vs1:aggr1 initialize 8/15/2013 08:23:23 8/15/2013 08:23:23 failure vs1:vol2 vs1:aggr1 create 8/15/2013 08:23:10 8/15/2013 08:23:10 success 6 entries were displayed.
The example below displays detailed information for the SnapMirror operation with operation ID dc158715-0583-11e3-89bd-123478563412
cluster2::> snapmirror show-history -operation-id dc158715-0583-11e3-89bd-123478563412 Destination Path: vs1:vol1 Source Path: vs1:aggr1 Relationship ID: cb3d30a0-0583-11e3-89bd-123478563412 Relationship Group Type: none Operation: manual-update Operation ID: dc158715-0583-11e3-89bd-123478563412 Start Time: 8/15/2013 08:22:44 End Time: 8/15/2013 08:22:44 Result: failure Transfer Size: - Additional Information: Volume vs1:vol1 is restricted. Use the command "volume online" to bring the volume online.
The example below displays detailed information for all SnapMirror operations on relationships with the Result of "success" and whose destination endpoints are in the current cluster.
cluster2::> snapmirror show-history -result success -instance Destination Path: vs1:vol1 Source Path: vs1:aggr1 Relationship ID: cb3d30a0-0583-11e3-89bd-123478563412 Relationship Group Type: none Operation: initialize Operation ID: d03ce1db-0583-11e3-89bd-123478563412 Start Time: 8/15/2013 08:22:25 End Time: 8/15/2013 08:22:26 Result: success Transfer Size: 1.09MB Additional Information: - Destination Path: vs1:vol1 Source Path: vs1:aggr1 Relationship ID: cb3d30a0-0583-11e3-89bd-123478563412 Relationship Group Type: none Operation: create Operation ID: cb3d305d-0583-11e3-89bd-123478563412 Start Time: 8/15/2013 08:22:15 End Time: 8/15/2013 08:22:16 Result: success Transfer Size: - Additional Information: - Destination Path: vs1:vol2 Source Path: vs1:aggr1 Relationship ID: eb92c549-0583-11e3-89bd-123478563412 Relationship Group Type: none Operation: create Operation ID: eb92c506-0583-11e3-89bd-123478563412 Start Time: 8/15/2013 08:23:10 End Time: 8/15/2013 08:23:10 Result: success Transfer Size: - Additional Information: - 3 entries were displayed.
The example below displays summary information for all SnapMirror operations on relationships with max-rows-per-relationship of 1 and whose destination endpoints are in the current cluster.
cluster2::> snapmirror show-history -max-rows-per-relationship 1 Destination Source Start End Path Path Operation Time Time Result ----------- ----------- --------- ----------- ----------- ------- vs1:vol1 vs1:aggr1 manual-update 8/15/2013 08:22:44 8/15/2013 08:22:44 failure vs1:vol2 vs1:aggr1 initialize 8/15/2013 08:23:23 8/15/2013 08:23:23 failure 2 entries were displayed.