Verify free space for deduplicated volumes before reverting ONTAP
Before you revert an ONTAP cluster from any version of ONTAP 9, you must ensure that the volumes contain sufficient free space for the revert operation.
The volume must have enough space to accommodate the savings that were achieved through the inline detection of blocks of zeros. See the Knowledge Base article How to see space savings from deduplication, compression, and compaction in ONTAP 9.
If you have enabled both deduplication and data compression on a volume that you want to revert, then you must revert data compression before reverting deduplication.
-
View the progress of the efficiency operations that are running on the volumes:
volume efficiency show -fields vserver,volume,progress
-
Stop all active and queued deduplication operations:
volume efficiency stop -vserver <svm_name> -volume <volume_name> -all
-
Set the privilege level to advanced:
set -privilege advanced
-
Downgrade the efficiency metadata of a volume to the target version of ONTAP:
volume efficiency revert-to -vserver <svm_name> -volume <volume_name> -version <version>
The following example reverts the efficiency metadata on volume VolA to ONTAP 9.x.
volume efficiency revert-to -vserver vs1 -volume VolA -version 9.x
The volume efficiency revert-to command reverts volumes that are present on the node on which this command is executed. This command does not revert volumes across nodes. -
Monitor the progress of the downgrade:
volume efficiency show -vserver <svm_name> -op-status Downgrading
-
If the revert does not succeed, display the instance to see why the revert failed.
volume efficiency show -vserver <svm_name> -volume <volume_name> - instance
-
After the revert operation is complete, return to the admin privilege level:
set -privilege admin
Learn more about Logical storage management.