This section explains how to configure automated removal of cached data from spoke portals and how to remove cached directories and files from spoke portals by using the qq CLI.

Before you can configure spoke portal cache management, your Qumulo cluster must have an active portal relationship.

How Cache Management Works in Qumulo Core

By default, Qumulo Core automatically recaches data on spoke portals upon access and maintains a minimum of 5% free capacity on clusters whose spoke portals contain cached data. Qumulo Core removes cached data in the background until it meets its configured free threshold or until it removes all cached data from the spoke portals.

Configuring Automated Removal of Cached Data from Spoke Portals

This section explains how to configure automatic cache management for active spoke portals. To control automatic cache management, you can configure a free threshold. For example, if you set the free threshold setting to 0.05, Qumulo Core begins to remove cached data from spoke portals when the system is 95% full.

  • To view the current free threshold, run the qq portal_get_eviction_settings command.

  • To configure the current free threshold, run the qq portal_set_eviction_settings command and specify the free threshold value as a decimal between 0.0 and 1.0. In the following example, Qumulo Core begins to remove cached data from spoke portals when the system is 80% full.

     qq portal_set_eviction_settings \
       --free-threshold 0.2
    
  • To view the current cluster capacity used by a spoke portal’s cache, run the qq portal_list_file_systems command.