为何更改聚合跨卷实时重复数据删除设置
适用场景
ONTAP 9.4或更高版本。
问题解答
SnapMirror中断时AFF 设置中目标RW卷的默认卷效率设置(9.4及更高版本):
- 卷效率状态(已启用)
- 卷实时压缩(on)
- 卷实时重复数据删除(启用)
- 后台数据压缩(打开)
- 数据缩减(启用)
- 跨卷实时重复数据删除(启用)
- 跨卷后台重复数据删除(启用)
- 策略(自动)
例如:
The existed status for the aggregate Cross Volume Inline Deduplication:
cluster1::*> snapmirror show
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm1:vol3 XDP svm1:vol3dp Snapmirrored
Idle - true -
2 entries were displayed.
cluster1::*> volume efficiency show -fields cross-volume-inline-dedupe -volume vol3
vserver volume cross-volume-inline-dedupe
------- ------ --------------------------
svm1 vol3 false
cluster1::*> aggr efficiency show -aggregate aggr2
Aggregate: aggr2
Node: cluster1-02
Cross Volume Background Deduplication: true
Cross Volume Inline Deduplication: false
Has Cross Volume Deduplication Savings: true
Has Auto Adaptive Compression Savings: true
cluster1::*>
对vol3执行一次SnapMirror还原:
cluster1::*> snapmirror restore -destination-path svm1:vol3 -source-path svm1:vol3dp
Warning: All data newer than Snapshot copy
snapmirror.aa1c00c8-2e93-11ed-8e6c-00a098d52e71_2161360053.2022-09-07_1
50744 on volume svm1:vol3 will be deleted.
Export policies currently enforced on the qtrees of volume "svm1:vol3"
will not change during this operation. If the currently enforced
export policies are different from those in Snapshot copy
"snapmirror.aa1c00c8-2e93-11ed-8e6c-00a098d52e71_2161360053.2022-09-07_
150744", reassign the export policies of the qtrees on this volume
after this operation.
Do you want to continue? {y|n}: y
[Job 44] Job is queued: snapmirror restore from source "svm1:vol3dp".
cluster1::*> snapmirror show
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm1:vol3 XDP svm1:vol3dp Snapmirrored
Idle - true -
svm1:vol3dp RST svm1:vol3 Broken-off
Queued - true -
3 entries were displayed.
cluster1::*> snapmirror show
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm1:vol3 XDP svm1:vol3dp Snapmirrored
Idle - true -
svm1:vol3dp RST svm1:vol3 Snapmirrored
Idle - true -
3 entries were displayed.
cluster1::*> snapmirror show
Progress
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
----------- ---- ------------ ------- -------------- --------- ------- --------
svm1:vol3 XDP svm1:vol3dp Snapmirrored
Idle - true -
2 entries were displayed.
cluster1::*> volume efficiency show -fields cross-volume-inline-dedupe -volume vol3
vserver volume cross-volume-inline-dedupe
------- ------ --------------------------
svm1 vol3 true
cluster1::*> aggr efficiency show -aggregate aggr2
Aggregate: aggr2
Node: cluster1-02
Cross Volume Background Deduplication: true
Cross Volume Inline Deduplication: true
Has Cross Volume Deduplication Savings: true
Has Auto Adaptive Compression Savings: true
cluster1::*> event log show
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
9/7/2022 15:10:29 cluster1-02 NOTICE sm.break.enable.se: "Storage efficiency" feature has been enabled on the destination volume svm1:vol3 due to a SnapMirror break operation.
9/7/2022 15:10:09 cluster1-02 INFORMATIONAL wafl.scan.ownblocks.done: Completed block ownership calculation on volume vol3@vserver:aa1c00c8-2e93-11ed-8e6c-00a098d52e71. The scanner took 1 ms.
9/7/2022 15:10:09 cluster1-02 INFORMATIONAL wafl.vol.blks_used.done: type="Volume", owner="", vol="vol3", app="", volident="@vserver:aa1c00c8-2e93-11ed-8e6c-00a098d52e71", run_time="110"
9/7/2022 15:10:09 cluster1-02 INFORMATIONAL wafl.vol.snap_create.done: type="Volume", owner="", vol="vol3", app="", volident="@vserver:aa1c00c8-2e93-11ed-8e6c-00a098d52e71", run_time="42"
9/7/2022 15:10:09 cluster1-02 DEBUG wafl.scan.start: Starting redirect on volume vol3@vserver:aa1c00c8-2e93-11ed-8e6c-00a098d52e71.
9/7/2022 15:10:09 cluster1-02 INFORMATIONAL wafl.snaprestore.revert: Reverting volume vol3@vserver:aa1c00c8-2e93-11ed-8e6c-00a098d52e71 to a previous Snapshot copy with snapid 2.