Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `SECONDARY_DATA_DIRECTORY`

Option | `SECONDARY_DATA_DIRECTORY`
Description | Enables a secondary file system to store segment files

`SECONDARY_DATA_DIRECTORY` enables using a secondary file system to store segment files. When to move the files is controlled by `PRIMARY_STORAGE_PERCENTAGE`. Secondary storage is not enabled by default. Note, that when using Docker, make sure to mount the volume into the container as well.

See the page on Secondary Storage for more information.

ini

    PRIMARY_STORAGE_PERCENTAGE=80
    PRIMARY_STORAGE_MAX_FILL_PERCENTAGE=95
    SECONDARY_DATA_DIRECTORY=/secondaryMountPoint/humio-data2
    SECONDARY_STORAGE_MAX_FILL_PERCENTAGE=95

These properties define the disk space limits at which LogScale will throttle itself to avoid filling the disks. When the primary disk cap is hit, LogScale will attempt to use the secondary storage instead. If both caps are hit, the affected LogScale node will pause processing of logs, and will avoid downloading segments from other nodes or buckets, until disk space is freed.

#### Enter search term