volume efficiency undo
Undo efficiency on a volume
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
Parameters
-vserver <vserver name> - Vserver Name
This specifies the Vserver on which the volume is located.
{
-volume <volume name> - Volume Name
This specifies the volume name.
|
-path </vol/volume>
} - Volume Path
This specifies the volume path.
[-compression | -C [true]] - Decompress The Data In The Volume
Undo the effects of compression. This requires efficiency to be disabled (by performing
volume efficiency off).
[-dedupe | -D [true]] - Undo Block Sharing In The Volume
Undo the effects of deduplication. This requires efficiency to be disabled (by performing
volume efficiency off).
[-inode | -i <integer>] - Inode Number To Undo Sharing
Remove the block sharings from a specified inode. This parameter is not supported on Infinite Volumes.
[-undo-type | -t {all|wrong}] - Selective Undo
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.
[-log | -d [true]] - Only Log Incorrect Savings
If true, information about invalid block sharing relationships will only be logged. Invalid sharings will not be removed. This option is only valid when the parameter undo-type is set to wrong.
Examples
The following are examples of how to use efficiency undo.
cluster1::> volume efficiency undo -vserver vs1 -volume vol1
cluster1::> volume efficiency undo -vserver vs1 -volume vol1 -compression true
cluster1::> volume efficiency undo -vserver vs1 -volume vol1 -dedup true -compression true