Scheduled update is triggered right after initialization of async-mirror relationship
Applies to
- ONTAP 9
- SnapMirror with async-mirror policy type having no schedule
Issue
snapmirror show-history
showsscheduled-update
is run as soon as theinitialize
even if there is no SnapMirror schedule is configured
::> snapmirror show-history -destination-path svm_dst:vol_dst
Destination Path Source Path Operation Start Time End Time Result
-------------------- -------------------- ----------------- ------------------- ------------------- ----------
svm_dst:vol_dst svm_src:vol_src initialize 6/23/2023 02:00:06 6/23/2023 02:00:08 success
svm_dst:vol_dst svm_src:vol_src scheduled-update 6/23/2023 02:00:06 6/23/2023 02:00:08 success
snapmirror_audit
log indicates that initialization is finished withNote=Scheduled update operation is queued.
then scheduled update runs
Initialize[Jun 23 02:00:06]:9fb2ba99-1169-11ee-b143-0050569d287c Operation-Uuid=ac806e96-1169-11ee-b143-0050569d287c Group=none Operation-Cookie=0 action=Start source=svm_src:vol_src destination=svm_dst:vol_dst
Initialize[Jun 23 02:00:06]:9fb2ba99-1169-11ee-b143-0050569d287c Operation-Uuid=ac806e96-1169-11ee-b143-0050569d287c Group=none Operation-Cookie=0 action=End source=svm_src:vol_src destination=svm_dst:vol_dst status=Success bytes_transferred=18248 network_compression_ratio=1.0:1 transfer_desc=Logical Transfer with Storage Efficiency - Optimized Directory Mode Note=Scheduled update operation is queued.
ScheduledUpdate[Jun 23 02:00:06]:9fb2ba99-1169-11ee-b143-0050569d287c Operation-Uuid=dd7b3dfb-757c-4a59-8a62-ced53b15351b Group=none Operation-Cookie=0 action=Start source=svm_src:vol_src destination=svm_dst:vol_dst
ScheduledUpdate[Jun 23 02:00:06]:9fb2ba99-1169-11ee-b143-0050569d287c Operation-Uuid=dd7b3dfb-757c-4a59-8a62-ced53b15351b Group=none Operation-Cookie=0 action=Info No new Snapshot copy to transfer from source svm_dst:vol_src.
ScheduledUpdate[Jun 23 02:00:06]:9fb2ba99-1169-11ee-b143-0050569d287c Operation-Uuid=dd7b3dfb-757c-4a59-8a62-ced53b15351b Group=none Operation-Cookie=0 action=End source=svm_src:vol_src destination=svm_dst:vol_dst status=Success bytes_transferred=0 network_compression_ratio=1.0:1