Skip to main content
A newer release of this product is available.

volume flexcache config modify

Contributors
Suggest changes

Modify cache configuration

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The `volume flexcache config modify` command is used to modify the configuration for a FlexCache volume.

Parameters

-vserver <Vserver Name> - Vserver Name (privilege: advanced)

This specifies the Vserver in which the FlexCache volume exists.

-volume <volume name> - Cache Volume Name (privilege: advanced)

This specifies the name of the FlexCache volume.

[-is-relative-size-enabled {true|false}] - Is Relative Sizing Enabled (privilege: advanced)

This parameter specifies whether the relative sizing is enabled for the FlexCache volume. Relative sizing is introduced as a part of follow the origin feature. When relative sizing is enabled, it will block any modifications done manually in the absolute size of the FlexCache. The size of FlexCache will be calculated and entered automatically based on the size of the origin. The default value for create is false .

[-relative-size-percentage <integer>] - Relative Flexcache Size Percentage (privilege: advanced)

This parameter specifies the percent size FlexCache should have relative to the total size of the origin. The default value for create is 10%.

Examples

The following example triggers FlexCache volume configuration modify:

cluster1::> volume flexcache config modify -vserver vs34 -volume fc1 -is-cifs-enabled true
cluster1::> volume flexcache config modify -volume originvol -is-cifs-enabled false
  (volume flexcache config modify)
Error: command failed: FlexCache config modify is only applicable for volumes
       with "flexcache-endpoint-type" cache.