Skip to main content
NetApp Knowledge Base

SnapMirror restore fails if the volume compression settings are inconsistent between source and destination

Views:
206
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
dp
Last Updated:

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-error of snapmirror show  display 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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.