Table of ContentsView in Frames

Creating FlexCache volumes

You use FlexCache volumes to speed access to remote data, or to offload traffic from heavily accessed volumes.

Before you begin

Step

  1. Enter the following command:vol create cache_vol aggr [size{k|m|g|t}] -S origin:source_vol

    origin is the name or IP address of the origin system. If you are caching a clustered Data ONTAP volume, then specify the IP address of the clustered Data ONTAP system containing the particular volume.

    cache_vol is the name of the new FlexCache volume you want to create.

    aggr is the name of the containing aggregate for the new FlexCache volume.

    size{ k | m | g | t } specifies the FlexCache volume size in kilobytes, megabytes, gigabytes, or terabytes. If you do not specify a size, bytes is used and rounded up to the nearest multiple of 4 KB.
    Note: For best performance, do not specify a size when you create a FlexCache volume. Specifying a size disables the FlexCache Autogrow capability.

    source_vol is the name of the volume you want to use as the origin volume on the origin system.

Result

The new FlexCache volume is created and an entry is added to the /etc/export file for the new volume.

Example

The following command creates a FlexCache volume called newcachevol, with the Autogrow capability enabled, in the aggregate called aggr1, with a source volume vol1 on storage system corp_storage:vol create newcachevol aggr1 -S corp_storage:vol1