# Example configuration for snapraid
# Defines the file to use as Parity storage
# It must NOT be in a data disk
# Format: "parity FILE_PATH"
parity /srp01/p01/parity
# Defines the file to use as Q-Parity storage
# If specified, it enables a double failures protection like RAID6
# It must NOT be in a data disk
# Format: "q-parity FILE_PATH"
2-parity /srp02/p02/2-parity
3-parity /srp11/p11/3-parity
4-parity /srp12/p12/4-parity
# Defines the files to use as content list
# You can use multiple specification to store more copies
# You must have least one copy for each parity file plus one. Some more don't hurt
# They can be in the disks used for data, parity or boot,
# but each file must be in a different disk
# Format: "content FILE_PATH"
content /rpool/content
content /srp01/p01/content
content /srp02/p02/content
content /srp11/p11/content
content /srp12/p12/content
# Defines the data disks to use
# The order is relevant for parity, do not change it
# Format: "disk DISK_NAME DISK_MOUNT_POINT"
disk d01 /srd01/d01/
disk d02 /srd02/d02/
disk d03 /srd03/d03/
disk d04 /srd04/d04/
disk d05 /srd05/d05/
disk d06 /srd06/d06/
disk d07 /srd07/d07/
disk d08 /srd08/d08/
disk d11 /srd11/d11/
disk d12 /srd12/d12/
disk d13 /srd13/d13/
disk d14 /srd14/d14/
disk d17 /srd17/d17/
disk d18 /srd18/d18/
# Excludes hidden files and directories (uncomment to enable).
# nohidden
# Defines files and directories to exclude
# Remember that all the paths are relative at the mount points
# Format: "exclude FILE"
# Format: "exclude DIR/"
# Format: "exclude /PATH/FILE"
# Format: "exclude /PATH/DIR/"
exclude *.bak
exclude *.unrecoverable
exclude /tmp/
exclude /lost+found/
exclude /unprotected/
# Defines the block size in kibi bytes (1024 bytes).
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
# Format: "block_size SIZE_IN_KiB"
block_size 256
# Automatically save the state when synching after the specied amount
# of GiB processed.
# This option is useful to avoid to restart from scratch long 'sync'
# commands interrupted by a machine crash.
# The SIZE argument is specified in gibi bytes -> 1073741824 bytes
# Default value is 0, meaning disabled.
# Format: "autosave_size SIZE_IN_GiB"
autosave 500