Skip to main content
A newer release of this product is available.

volume efficiency undo

Contributors
Suggest changes

Undo efficiency on a volume

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The command volume efficiency undo removes volume efficiency on a volume by undoing compression, undoing compaction and removing all the block sharing relationships, and cleaning up any volume efficiency specific data structures. Any efficiency operations on the volume must be disabled before issuing this command. The volume efficiency configuration is deleted when the undo process completes. The command is used to revert a volume to an earlier version of Data ONTAP where some of the efficiency features are not supported. During this revert not all efficiencies needs to be undone but only those gained by that particular feature (for example, compaction), which is not supported in the earlier version.

This command is not supported on Infinite Volumes that are managed by storage services.

Parameters

-vserver <vserver name> - Vserver Name (privilege: advanced)

This specifies the Vserver on which the volume is located.

{ -volume <volume name> - Volume Name (privilege: advanced)

This specifies the volume name.

| -path </vol/volume> - Volume Path (privilege: advanced) }

This specifies the volume path.

[-C, -compression <true>] - Decompress Data in the Volume (privilege: advanced)

Undo the effects of compression. This requires efficiency to be disabled (by performing volume efficiency off ).

[-D, -dedupe <true>] - Undo Block Sharing in the Volume (privilege: advanced)

Undo the effects of deduplication. This requires efficiency to be disabled (by performing volume efficiency off ).

[-i, -inode <integer>] - Inode Number to Undo Sharing (privilege: advanced)

Remove the block sharings from a specified inode. This parameter is not supported on Infinite Volumes.

[-t, -undo-type {all|wrong}] - Selective Undo (privilege: advanced)

This specifies to remove either all or only invalid block sharing. When all is used, all block sharings are removed. When wrong is used, only invalid sharings present in the volume are removed. When used along with log option, it logs information about all or wrong block sharings without sharing removal.

[-d, -log <true>] - Only Log Incorrect Savings (privilege: advanced)

If specified, information about invalid block sharing relationships will only be logged. Invalid sharings will not be removed. This parameter is only valid when the parameter -undo-type is specified as wrong .

[-P, -data-compaction <true>] - Undo Data Compaction in the Volume (privilege: advanced)

Undo the effects of data compaction.

[-A, -cross-volume-dedupe <true>] - Undo Cross Volume Deduplication (privilege: advanced)

Undo the effects of cross volume deduplication.

Examples

The following are examples of how to use efficiency undo.

To undo deduplication savings, but not compaction or compression savings in a volume name vol1 on a Vserver named vs1:

cluster1::> volume efficiency undo -vserver vs1 -volume vol1

To rewrite compressed blocks and undo compression savings in a volume name vol1 on a Vserver named vs1:

cluster1::> volume efficiency undo -vserver vs1 -volume vol1 -compression

To rewrite compressed and deduped blocks without any efficiency in a volume name vol1 on a Vserver named vs1:

cluster1::> volume efficiency undo -vserver vs1 -volume vol1 -dedup -compression

To rewrite compacted blocks in a volume name vol1 on an SVM named vs1:

cluster1::> volume efficiency undo -vserver vs1 -volume vol1 -data-compaction