mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Allow to specify multiple content files.
This commit is contained in:
parent
045602581e
commit
99420cffab
10 changed files with 232 additions and 107 deletions
|
|
@ -1,17 +1,28 @@
|
|||
# Configuration for snapraid
|
||||
# Example configuration for snapraid
|
||||
|
||||
# Defines the file to use as parity storage
|
||||
# It must be in an different disk than the data disks
|
||||
# Defines the file to use as Parity storage
|
||||
# It must NOT be in a data disk
|
||||
# Format: "parity FILE_PATH"
|
||||
parity /mnt/diskpar/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"
|
||||
#q-parity /mnt/diskqar/q-parity
|
||||
|
||||
# Defines the file to use as content list
|
||||
# You can use multiple specification to store more copies of the file
|
||||
# It's suggested to have at least N+1 copies of the file, where N is the number of parity files.
|
||||
# It must NOT be in a data disk
|
||||
# It can be in the disks used for parity storage
|
||||
# Format: "content FILE_PATH"
|
||||
# It must be in an different disk than the data disks
|
||||
# It can be in the same disk used for parity storage
|
||||
content /mnt/diskpar/content
|
||||
#content /mnt/diskqar/content
|
||||
content /var/snapraid/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 d1 /mnt/disk1/
|
||||
disk d2 /mnt/disk2/
|
||||
|
|
@ -27,7 +38,7 @@ exclude tmp/
|
|||
exclude /lost+found/
|
||||
|
||||
# Defines the block size in kibi bytes (1024 bytes).
|
||||
# Format: "block_size SIZE_IN_KiB"
|
||||
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
|
||||
# Format: "block_size SIZE_IN_KiB"
|
||||
block_size 256
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue