1#
2# storage.config - Storage Configuration file
3#
4# Documentation:
5#    https://docs.trafficserver.apache.org/en/latest/admin-guide/files/storage.config.en.html
6#
7# The storage configuration is a list of all the storage to
8# be used by the cache.
9#
10#
11#############################################################
12# Using a file for the cache storage
13#
14# <pathname> <size>
15#
16# Where 'pathname' is full path to the directory where you want
17# the cache-file to live and 'size' is size in bytes
18#
19# Example: 128MB cache file(@exp_cachedir@/cache.db)
20#      @exp_cachedir@ 128M
21#
22# Example: 144MB cache file(@exp_cachedir@/cache.db)
23#          assuming prefix of '@prefix@'
24#      @rel_cachedir@ 150994944
25#
26# Example: 512MB cache file(@exp_cachedir@/cache.db)
27#          assuming prefix of '@prefix@'
28#      @rel_cachedir@ 512M
29#
30#
31#############################################################
32##              O_DIRECT Specific Configuration            ##
33#############################################################
34#
35# Examples: Using O_DIRECT on disks (Linux kernel >= 2.6.3,
36# FreeBSD > 5.3)
37#
38#      /dev/disc/by-id/[Insert_ID_Here_12345]         		# Linux
39#      /dev/disc/by-path/[Insert-Path-Here:12:34:56-1.0.0.0]	# Linux
40#
41#      /dev/ada1            					# FreeBSD
42#
43# Note that disks are identified by id or path. This is to prevent changes
44# by the kernel (which could occur if a disk was simply described as /dev/sda, sdb, etc.).
45#
46# Also note that when using these raw devices in O_DIRECT mode, you
47# do not need to specify the partition size. It's automatically
48# detected.
49#
50# A small default cache (256MB). This is set to allow for the regression test to succeed
51# most likely you'll want to use a larger cache. And, we definitely recommend the use
52# of raw devices for production caches.
53@rel_cachedir@ 256M
54