Create a volume efficiency policy to run efficiency operations

Contributors

You can create a volume efficiency policy to run deduplication or data compression followed by deduplication on a volume for a specific duration, and specify the job schedule using the volume efficiency policy create command.

What you’ll need

You must have created a cron schedule using the job schedule cron create command. For more information about managing the cron schedules, see the System administration reference.

About this task

An SVM administrator with default predefined roles cannot manage the deduplication policies. However, the cluster administrator can modify the privileges assigned to an SVM administrator by using any customized roles. For more information about the SVM administrator capabilities, see Administrator authentication and RBAC.

Note

You can run deduplication or data compression operations at a scheduled time, or by creating a schedule with a specific duration, or by specifying a threshold percentage, which waits for the new data to exceed the specified percentage and then triggers the deduplication or data compression operation. This threshold value is the percentage of the total number of blocks used in the volume. You can obtain the total number of blocks used from the df command output.

Steps
  1. Use the volume efficiency policy create command to create a volume efficiency policy.

Examples

The following command creates a volume efficiency policy named pol1 that triggers an efficiency operation daily:

volume efficiency policy create -vserver vs1 -policy pol1 -schedule daily

The following command creates a volume efficiency policy named pol2 that triggers an efficiency operation when the threshold percentage reaches 20%:

volume efficiency policy create -vserver vs1 -policy pol2 -type threshold -start-threshold-percent 20%