Why aggregate cross volume inline deduplication setting is changed
Applies to
ONTAP 9.4 or above versions.
Answer
Default Volume efficieny settings for destination RW volume on AFF setup upon snapmirror break(9.4 onwards):
- Volume efficiency state (enabled)
- Vol inline-compression(ON)
- Vol inline-dedupe(ON)
- Background compression (ON)
- Data compaction (ON)
- Cross volume inline dedupe (ON)
- Cross volume background dedupe (ON)
- Policy(auto)
FOR EXAMPLE:
The volume "vol3" is in Cross-volume-inline-dedupe false status, the host aggregate also in false.
Any of volumes in aggregate changes into Cross-volume-inline-dedupe true(ON) status, the host aggregate also changes into true(ON) status.
The sample volume "vol3" is configured snapmirror relationship, performs snapmirror restore for this relationship, the volume "vol3" gets break operation by snapmirror restore, the volume Cross-volume-inline-dedupe gets to ture status, so the aggregate also changes into true status.
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::*>
Perform one snapmirror restore for vol3:
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.
Additional Information