Skip to main content
NetApp Knowledge Base

Why snapshots shown out of order on vault destination?

Views:
148
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9

Answer

When snapshots are being replicated to a vault destination with external script by specifying a snapshot to be replicated it may happen that in certain circumstances an older snapshot is being replicated later than newer. In this case this older snapshot will be shown in out of order.

Example:

source cluster

cluster1::> snap list -volume volume -fields create-time
vserver volume   snapshot                                                                     create-time
------- -------- ---------------------------------------------------------------------------- ------------------------
svm1    volume test1                                                                        Tue Feb 16 14:02:44 2021
svm1    volume test2                                                                        Tue Feb 16 14:02:54 2021
svm1    volume test3                                                                        Tue Feb 16 16:04:07 2021
svm1    volume test4                                                                        Tue Feb 16 16:04:13 2021

destination cluster

‌‌cluster2::> snap list -volume volume_destination -fields create-time
vserver volume          snapshot                                                                     create-time
------- --------------- ---------------------------------------------------------------------------- ------------------------

svm2    volume_destination test2                                                                        Tue Feb 16 14:02:54 2021
svm2    volume_destination test1                                                                        Tue Feb 16 14:02:44 2021
svm2    volume_destination test4                                                                        Tue Feb 16 16:04:13 2021
svm2    volume_destination test3                                                                        Tue Feb 16 16:04:07 2021

 

In this case snapshots test1 and test3 were manually replicated after test2 and test4 using option -source-snapshot while triggering snapmirror update.

As you can see snapshots are shown not in a chronology order on a vault destination.

This is by design and the baseline snapshot is actually the latest by chronology, which can be checked by

cluster2::> snapmirror show -destination-path svm2:volume_destination -fields exported-snapshot
source-path   destination-path     exported-snapshot
------------- -------------------- -----------------
svm1:volume svm2:volume_destination test4

As you can see from the output the baseline snapshot is test4 which is correct and expected.

Additional Information

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.