Table of ContentsLibraryView in Frames

Creating FlexCache volumes

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

Before You Begin

Ensure that you have configured and enabled the FlexCache feature correctly on both the origin and caching systems.

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 use the name, then changing the IP address of the origin system does not affect the FlexCache 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 unit, size is taken as bytes 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.

    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_toaster:vol create newcachevol aggr1 -S corp_toaster:vol1