如果源和目标之间的卷压缩设置不一致,则 SnapMirror 还原失败
适用于
- ONTAP 9
- SnapMirror 还原
- 卷数据压缩
问题描述
- 用于还原操作的目标卷已启用压缩,而源卷未启用压缩
- 当从目标(原始 SnapMirror 目标)尝试使用源(原始 SnapMirror 源)上不存在的快照副本时,SnapMirror 还原失败
- RST 关系将健康状态显示为 "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 -
last-transfer-error的snapmirror show在 FlexGroup 卷和 FlexVol 中显示不同的错误:
FlexGroup 卷:
::*> 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"))
- SnapMirror 审核日志:
FlexGroup 卷:
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
- 如果在两个卷上都启用或禁用了卷压缩,则不会出现此问题。