689117
% storage.conf(5) Container Storage Configuration File
689117
% Dan Walsh
689117
% May 2017
689117
689117
# NAME
689117
storage.conf - Syntax of Container Storage configuration file
689117
689117
# DESCRIPTION
689117
The STORAGE configuration file specifies all of the available container storage options
689117
for tools using shared container storage, but in a TOML format that can be more easily modified
689117
and versioned.
689117
689117
# FORMAT
689117
The [TOML format][toml] is used as the encoding of the configuration file.
689117
Every option and subtable listed here is nested under a global "storage" table.
689117
No bare options are used. The format of TOML can be simplified to:
689117
689117
    [table]
689117
    option = value
689117
689117
    [table.subtable1]
689117
    option = value
689117
689117
    [table.subtable2]
689117
    option = value
689117
689117
## STORAGE TABLE
689117
689117
The `storage` table supports the following options:
689117
689117
**graphroot**=""
689117
  container storage graph dir (default: "/var/lib/containers/storage")
689117
  Default directory to store all writable content created by container storage programs
689117
689117
**runroot**=""
689117
  container storage run dir (default: "/var/run/containers/storage")
689117
  Default directory to store all temporary writable content created by container storage programs
689117
689117
**driver**=""
689117
  container storage driver (default is "overlay")
689117
  Default Copy On Write (COW) container storage driver
689117
689117
### STORAGE OPTIONS TABLE 
689117
689117
The `storage.options` table supports the following options:
689117
689117
**additionalimagestores**=[]
689117
  Paths to additional container image stores. Usually these are read/only and stored on remote network shares.
689117
689117
**size**=""
689117
  Maximum size of a container image.  Default is 10GB.  This flag can be used to set quota
689117
  on the size of container images.
689117
689117
**override_kernel_check**=""
689117
  Tell storage drivers to ignore kernel version checks.  Some storage drivers assume that if a kernel is too
689117
  old, the driver is not supported.  But for kernels that have had the drivers backported, this flag
689117
  allows users to override the checks
689117
689117
[storage.options.thinpool]
689117
689117
Storage Options for thinpool
689117
689117
The `storage.options.thinpool` table supports the following options:
689117
689117
**autoextend_percent**=""
689117
689117
Tells the thinpool driver the amount by which the thinpool needs to be grown. This is specified in terms of % of pool size. So a value of 20 means that when threshold is hit, pool will be grown by 20% of existing pool size. (Default is 20%)
689117
689117
**autoextend_threshold**=""
689117
689117
Tells the driver the thinpool extension threshold in terms of percentage of pool size. For example, if threshold is 60, that means when pool is 60% full, threshold has been hit. (80% is the default)
689117
689117
**basesize**=""
689117
689117
Specifies the size to use when creating the base device, which limits the size of images and containers. (10g is the default)
689117
689117
**blocksize**=""
689117
689117
Specifies a custom blocksize to use for the thin pool. (64k is the default)
689117
689117
**directlvm_device**=""
689117
689117
Specifies a custom block storage device to use for the thin pool. Required if you setup devicemapper
689117
689117
**directlvm_device_force**=""
689117
689117
Tells driver to wipe device (directlvm_device) even if device already has a filesystem.  Default is False
689117
689117
**fs**="xfs"
689117
689117
Specifies the filesystem type to use for the base device. (Default is xfs)
689117
689117
**log_level**=""
689117
689117
Sets the log level of devicemapper.
689117
689117
    0: LogLevelSuppress 0 (Default)
689117
    2: LogLevelFatal
689117
    3: LogLevelErr
689117
    4: LogLevelWarn
689117
    5: LogLevelNotice
689117
    6: LogLevelInfo
689117
    7: LogLevelDebug
689117
689117
**min_free_space**=""
689117
689117
Specifies the min free space percent in a thin pool require for new device creation to succeed. Valid values are from 0% - 99%. Value 0% disables (10% is the default)
689117
689117
**mkfsarg**=""
689117
689117
Specifies extra mkfs arguments to be used when creating the base device.
689117
689117
**mountopt**=""
689117
689117
Specifies extra mount options used when mounting the thin devices.
689117
689117
**use_deferred_removal**=""
689117
689117
Marks device for deferred removal.  If the device is in use when it driver attempts to remove it, driver will tell the kernel to remove it as soon as possible.  (Default is true).
689117
689117
**use_deferred_deletion**=""
689117
689117
Marks device for deferred deletion. If the device is in use when it driver attempts to delete it, driver continue to attempt to delete device every 30 seconds, or when it restarts.  (Default is true).
689117
689117
**xfs_nospace_max_retries**=""
689117
689117
Specifies the maximum number of retries XFS should attempt to complete IO when ENOSPC (no space) error is returned by underlying storage device. (Default is 0, which means to try continuously.
689117
689117
# HISTORY
689117
May 2017, Originally compiled by Dan Walsh <dwalsh@redhat.com>
689117
Format copied from crio.conf man page created by Aleksa Sarai <asarai@suse.de>