2 weeks ago
ONTAP Recipes: Did you know you can...?
Manage storage efficiency policies in ONTAP
Background (i.e. Post-process) data deduplication and data compression can be run on a FlexVol volume or Infinite Volume.
A volume efficiency policy exists in the context of a Storage Virtual Machine (SVM). The volume efficiency policies support only job schedules that are of type cron."Volume efficiency" is already aliased to "sis" in cluster-shell. Apart from enabling/disabling various storage efficiency features, there are various policies that govern the behavior.
ONTAP provides following storage efficiency policies:
You can typically create policies based on:
Following are the useful commands to configure deduplication policies in an ONTAP system.
Creating an Efficiency Policy
Create a volume efficiency policy named pcy1 that triggers an efficiency operation daily.
volume efficiency policy create -vserver vs1 -policy pcy1 -schedule daily
Create a volume efficiency policy named pcy that triggers an efficiency operation when the threshold percentage reaches 40%.
volume efficiency policy create -vserver vs1 -policy pcy1 -type threshold -start-threshold-percent 40%
Setting a Volume Efficiency Policy
Assign the volume efficiency policy named pcy1 with volume vol1.
volume efficiency modify -vserver vs1 -volume vol1 -policy pcy1
Modifyung a Volume Efficiency Policy
Modify the volume efficiency policy named pcy1 to run every hour.
volume efficiency policy modify -vserver vs1 -policy pcy1 -schedule hourly
Modify a volume efficiency policy named pcy1 to threshold 20%.
volume efficiency policy modify -vserver vs1 -policy pcy1 -type threshold -start-threshold-percent 20%
Viewing Volume Efficiency Policies
Display information about the policies created for the SVM vs1.
volume efficiency policy show -vserver vs1
Display the policies for which the duration is set as 8 hours
volume efficiency policy show -duration 8
Disassociate a Volume Efficiency Policy from a Volume
Disassociate the volume efficiency policy from volume vol1.
volume efficiency modify -vserver vs1 -volume 1ol1 -policy -
Delete a Volume Efficiency Policy Not Associated with any Volume
Delete a volume efficiency policy named pcy1.
volume efficiency policy delete -vserver vs1 -policy pcy1