Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4875

ONTAP Recipes: Manage storage efficiency policies in ONTAP

$
0
0

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.

  • You can schedule a deduplication operation by creating job schedules as part of the efficiency policies or you can specify a threshold percentage, which triggers the deduplication or compression operation only after new data has exceeded the specified percentage.
  • You can disassociate an efficiency policy to stop running any further scheduled based deduplication and data compression operations on the volume by using the volume efficiency modify command.

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:

  • None: none of the storage efficiency features are enabled.
  • Default:dedupe is ON and deduplication operation start time is set to midnight.
  • --: dedupe is ON, but the user has set a different schedule than default (midnight), so policy becomes "-".
  • Inline: inline data compression, inline data deduplication, inline data compaction and inline data zero detection are enabled.

 You can typically create policies based on:

  • Schedule: when the post-process operation (deduplication/compression) should start.
  • Data Change Rate: how much percentage of data is changed since last operation.
  • QoS: QoS setting

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


Viewing all articles
Browse latest Browse all 4875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>