ONTAP Discussions

MirrorAndVault not keeping destination snapshots?

billshaffer
902 Views

Hello:

 

I have a MirrorAndVault snapmirror policy, with the defaults set to keep 7 daily and 52 weekly snapshots.  However, the destination volume only has the snapmirror created snapshots, despite the fact that dakly and weekly snapshots exist at the source volume.  I have the feeling that this is something stupid in the setup, but for the life of me I can't see it.  Can anyone explain this?  This is 9.5P6 (both sides).

 

Thanks...

Bill

 

====DESTINATION====
DESTnas10::> snapmirror show -destination-path DESTnas10_fs_dr:DataSrc1 -fields policy,policy-type,state,status,lag-time
source-path destination-path policy-type policy state status lag-time
---------------------- ----------------------- ------------ -------------- ------------ ------ --------
SRCnas01_svm1:DataSrc1 DESTnas10_fs_dr:DataSrc1 mirror-vault MirrorAndVault Snapmirrored Idle 11:4:27


DESTnas10::> snap list DataSrc1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
DESTnas10_fs_dr
DataSrc1
snapmirror.df26909a-f73a-11e9-b460-00a09868e81b_2150399487.2021-01-13_151500
2.83GB 0% 0%
snapmirror.df26909a-f73a-11e9-b460-00a09868e81b_2150399487.2021-01-14_031500
340KB 0% 0%

DESTnas10::> snapmirror policy show -policy MirrorAndVault
Vserver Policy Policy Number Transfer
Name Name Type Of Rules Tries Priority Comment
------- ------------------ ------ -------- ----- -------- ----------
DESTnas10
MirrorAndVault mirror-vault 3 8 normal A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly Snapshot copies.
SnapMirror Label: sm_created Keep: 1
daily 7
weekly 52
Total Keep: 60


====SOURCE=====
SRCnas01::> snap list DataSrc1
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
SRCnas01_svm1
DataSrc1
weekly.2020-12-20_0015 1.33GB 0% 0%
weekly.2020-12-27_0015 1.53GB 0% 0%
weekly.2021-01-03_0015 1.93GB 0% 0%
daily.2021-01-08_0010 7.81GB 0% 0%
daily.2021-01-09_0010 6.12GB 0% 0%
daily.2021-01-10_0010 12.82MB 0% 0%
weekly.2021-01-10_0015 266.3MB 0% 0%
daily.2021-01-11_0010 542.4MB 0% 0%
daily.2021-01-12_0010 5.59GB 0% 0%
daily.2021-01-13_0010 6.29GB 0% 0%
daily.2021-01-14_0010 3.25GB 0% 0%
snapmirror.df26909a-f73a-11e9-b460-00a09868e81b_2150399487.2021-01-14_031500
5.52GB 0% 0%
hourly.2021-01-14_0905 11.44MB 0% 0%
hourly.2021-01-14_1005 12.10MB 0% 0%
hourly.2021-01-14_1105 16.43MB 0% 0%
hourly.2021-01-14_1205 9.89MB 0% 0%
hourly.2021-01-14_1305 12.32MB 0% 0%
hourly.2021-01-14_1405 6.39MB 0% 0%

 

 

1 ACCEPTED SOLUTION

Sergey_Osipov
847 Views
2 REPLIES 2

Sergey_Osipov
848 Views

Check on the source if snapmirror-labels configured correctly for a snapshots 

 

https://docs.netapp.com/sfe-113/topic/com.netapp.doc.sfe-ug/GUID-BE5B96F3-BCCE-4ADE-82A2-F02A7F257DAD.html?cp=4_0_9_2_4

billshaffer
793 Views

Thank you Sergey - this was the missing piece.  The source snapshots are NOT labeled.  I assumed snapmirror was keying off the schedule name the way OnTap does for rotating snapmirrors.  Like I said, something stupid in the setup...

 

Bill

Public