Skip to main content

volume flexcache config show

Contributors
Suggest changes

Display cache configuration

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

Description

The `volume flexcache config show` command is used to view the FlexCache configuraiton for a FlexCache volume.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

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

If this parameter and the -volume parameter are specified, the command displays config information about the specified volume. If this parameter is specified by itself, the command displays information about FlexCache volumes on the specified Vserver.

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

If this parameter is specified, the command displays config information about the specified FlexCache volumes matching the specified name.

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

If this parameter is specified, the command displays the FlexCache volumes matching the value for relative size.

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

If this parameter is specified, the command displays the FlexCache volumes matching the percentage for relative size.

[-is-atime-scrub-enabled {true|false}] - Is atime based Scrubbing Enabled/Disabled (privilege: advanced)

If this parameter is specified, the command displays the FlexCache volumes matching the atime scrubbing mode.

[-atime-scrub-period <integer>] - Days after which an inactive file is scrubbed (privilege: advanced)

If this parameter is specified, the command displays the FlexCache volumes matching the period for atime scrubbing.

[-is-cifs-change-notify-enabled {true|false}] - Is CIFS CHANGE_NOTIFY Enabled/Disabled (privilege: advanced)

If this parameter is specified, the command displays the FlexCache volumes matching the value for CIFS CHANGE_NOTIFY mode.

Examples

The following example triggers FlexCache volume configuration show:

cluster1::> flexcache config show
  (volume flexcache config show)
Vserver Volume      CIFS Access Enabled
------- ----------- ------------------
vs1     cachevol    false
vs1     cachevol_2  true
2 entries were displayed.