Skip to main content

Setting the cache-retention policy for Flash Pool aggregates

Beginning with ONTAP 9.4, you can assign cache-retention policies to volumes in Flash Pool aggregates. Data in volumes with a high cache-retention policy remains in cache longer and data in volumes with a low cache-retention policy is removed sooner. This increases performance of your critical workloads by making high priority information accessible at a faster rate for a longer period of time.

Before you begin

You should know whether your system has any conditions that might prevent the cache-retention policy from having an impact on how long your data remains in cache.

About this task

The task must be done in advanced privilege mode.

  1. Change the privilege setting to advanced:set -privilege advanced
  2. Verify the volume's cache-retention policy:

    By default the cache retention policy is normal .
  3. Set the cache-retention policy:
    ONTAP VersionCommand
    ONTAP 9.4 or latervolume modify -volume volume_name -vserver vserver_name -caching-policy policy_name.
  4. Verify that the volume's cache-retention policy is changed to the option you selected.
  5. Return the privilege setting to admin: set -privilege admin