2022-02-03 20:21:52 +01:00
|
|
|
# Defines the file to use as parity storage
|
|
|
|
# It must NOT be in a data disk
|
|
|
|
# Format: "parity FILE_PATH"
|
|
|
|
parity /mnt/parity/snapraid.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 /var/snapraid.content
|
|
|
|
content /mnt/disk1/.snapraid.content
|
2022-02-11 22:05:52 +01:00
|
|
|
content /mnt/disk2/.snapraid.content
|
2022-02-03 20:21:52 +01:00
|
|
|
|
|
|
|
# Defines the data disks to use
|
|
|
|
# The order is relevant for parity, do not change it
|
|
|
|
# Format: "disk DISK_NAME DISK_MOUNT_POINT"
|
|
|
|
disk d1 /mnt/disk1
|
2022-02-11 22:05:52 +01:00
|
|
|
disk d2 /mnt/disk2
|
2022-02-03 20:21:52 +01:00
|
|
|
|
|
|
|
# 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 *.unrecoverable
|
|
|
|
exclude /tmp/
|
|
|
|
exclude /lost+found/
|
|
|
|
exclude *.!sync
|