SnapMirror restore fails if the volume compression settings are inconsistent between source and destination
Applies to
- ONTAP 9
- SnapMirror Restore
- Volume Compression
Issue
- The destination volume for the restore operation has compression enabled, and the source volume does not have compression enabled
- SnapMirror restore fails when it is tried from the destination(the original snapmirror destination) with a snapshot copy that is not present on the source (the original snapmirror source)
- The RST relationship shows healthy status as "false"
::*> snapmirror show ;date
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm1_ontap913:fg_src
XDP svm2_ontap913:fg_dst
Snapmirrored
Idle - true -
svm2_ontap913:fg_dst
RST svm1_ontap913:fg_src
Snapmirrored
Idle - false -
- The
last-transfer-errorofsnapmirror showdisplay different errors in FlexGroup volume and FlexVol:
FlexGroup volume:
::*> snapmirror show -fields last-transfer-error -destination-path svm1_ontap913:fg_src
source-path destination-path last-transfer-error
-------------------- -------------------- --------------------------------------------------------------------------------------------
svm2_ontap913:fg_dst svm1_ontap913:fg_src Group Update failed (Failed to complete update operation on one or more item relationships.)
FlexVol :
::> snapmirror show -fields last-transfer-error -destination-path svm1_ontap913:vol1_svm1
source-path destination-path last-transfer-error
------------------------------------ ----------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
svm2_ontap913:vol1_svm1_ontap913_dst svm1_ontap913:vol1_svm1 Failed to start transfer because compression is enabled on destination volume "svm1_ontap913:vol1_svm1". (Failed to start transfer. (Negotiation for using Storage Efficiency optimization failed because there is compression on the destination volume "6ee1d313-90b7-11ee-9dcc-000c297e7ba7:vol1_svm1"))
- The snapmirror audit log:
FlexGroup volume:
Wed May 15 17:59:49 JST 2024 RestoreTransfer[May 15 17:59:49]:29c860a6-1299-11ef-a788-000c297e7ba7 Operation-Uuid=2b250553-0dbc-40e7-ad8b-d00e371aa1ff Group=flexgroup Operation-Cookie=0 action=End source=svm2_ontap913:fg_dst0002 destination=svm1_ontap913:fg_src0002 status=Failure message=Failed to start transfer because compression is enabled on destination volume "svm1_ontap913:fg_src0002".(Failed to start transfer.(Negotiation for using Storage Efficiency optimization failed because there is compression on the destination volume "6ee1d313-90b7-11ee-9dcc-000c297e7ba7:fg_src0002"))
FlexVol :
Wed May 15 18:44:48 JST 2024 Restore:b7b3396d-129f-11ef-a788-000c297e7ba7 Operation-Uuid=b7b33960-129f-11ef-a788-000c297e7ba7 Group=none Operation-Cookie=0 action=End status=Failure message=Failed to start transfer because compression is enabled on destination volume "svm1_ontap913:vol1_svm1". (Failed to start transfer. (Negotiation for using Storage Efficiency optimization failed because there is compression on the destination volume "6ee1d313-90b7-11ee-9dcc-000c297e7ba7:vol1_svm1")) source=svm2_ontap913:vol1_svm1_ontap913_dst destin
- This problem does not occur if volume compression is enabled or disabled on both volumes.
