Skip to main content

Verify deduplicated volumes have enough free space before reverting

Contributors netapp-aherbin

Before reverting 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.

  1. Use the volume efficiency show command with the -fields option to view the progress of the efficiency operations that are running on the volumes.

    The following command displays the progress of efficiency operations: volume efficiency show -fields vserver,volume,progress

  2. Use the volume efficiency stop command with the -all option to stop all active and queued deduplication operations.

    The following command stops all active and queued deduplication operations on volume VolA: volume efficiency stop -vserver vs1 -volume VolA -all

  3. Use the set -privilege advanced command to log in at the advanced privilege level.

  4. Use the volume efficiency revert-to command with the -version option to downgrade the efficiency metadata of a volume to a specific version of ONTAP.

    The following command reverts the efficiency metadata on volume VolA to ONTAP 9.x: volume efficiency revert-to -vserver vs1 -volume VolA -version 9.x

    Note 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.
  5. Use the volume efficiency show command with the -op-status option to monitor the progress of the downgrade.

    The following command monitors and displays the status of the downgrade: volume efficiency show -vserver vs1 -op-status Downgrading

  6. If the revert does not succeed, use the volume efficiency show command with the -instance option to see why the revert failed.

    The following command displays detailed information about all fields: volume efficiency show -vserver vs1 -volume vol1 - instance

  7. After the revert operation is complete, return to the admin privilege level: set -privilege admin