ONTAP 9 Manuals ( CA08871-402 )

Set the cache-retention policy for Flash Pool aggregates

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.

What you’ll need

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.

Steps

Use the CLI in advanced privilege mode to perform the following steps:

  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 Version

    Command

    ONTAP 9.7 or later

    volume 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

Top of Page