アグリゲートボリューム間のインライン重複排除の設定が変更される理由
環境
ONTAP 9.4以上のvesions。
回答
ボリューム効率のデフォルト設定- AFF のセットアップ時にSnapMirrorの解除時にデスティネーションのRWボリュームを使用する(9.4以降):
- ボリューム効率化状態(有効)
- ボリュームのインライン圧縮(on)
- ボリュームのインライン重複排除(on)
- バックグラウンド圧縮(on)
- データコンパクション(オン)
- ボリューム間のインライン重複排除(on)
- ボリューム間のバックグラウンド重複排除(on)
- ポリシー(auto)
次に例を示します。
ボリューム「vol3」のステータスが「Cross-volume-inline-dedupe」で、ホストアグリゲートもfalseになります。
アグリゲート内のボリュームのステータスが「Cross-volume-inline-dedupe true(on)」に変わり、ホストアグリゲートのステータスも「true(on)」に変わります。
サンプルボリューム「vol3」は、SnapMirror関係を設定し、この関係に対してSnapMirrorリストアを実行します。ボリューム「vol3」は、SnapMirrorリストアによって解除処理を取得し、ボリュームのクロスボリュームインライン重複排除のステータスがtrueになるため、アグリゲートのステータスもtrueに変わります。
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に対して1つの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.