2011-04-29 22:07:50 +02:00
|
|
|
# Example configuration for snapraid for Windows
|
|
|
|
|
|
2013-11-02 15:55:57 +01:00
|
|
|
# Defines the file to use as parity storage
|
2011-04-29 22:07:50 +02:00
|
|
|
# It must NOT be in a data disk
|
|
|
|
|
# Format: "parity FILE_PATH"
|
2014-03-18 19:34:18 +01:00
|
|
|
parity E:\snapraid.parity
|
2011-04-29 22:07:50 +02:00
|
|
|
|
2013-11-02 15:55:57 +01:00
|
|
|
# Defines the files to use as additional parity storage.
|
|
|
|
|
# If specified, they enable the multiple failures protection
|
|
|
|
|
# from two to six level of parity.
|
|
|
|
|
# To enable, uncomment one parity file for each level of extra
|
2013-11-17 14:12:57 +01:00
|
|
|
# protection required. Start from 2-parity, and follow in order.
|
2011-04-29 22:07:50 +02:00
|
|
|
# It must NOT be in a data disk
|
2013-10-26 00:05:23 +02:00
|
|
|
# Format: "X-parity FILE_PATH"
|
2014-03-18 19:34:18 +01:00
|
|
|
#2-parity F:\snapraid.2-parity
|
|
|
|
|
#3-parity G:\snapraid.3-parity
|
|
|
|
|
#4-parity H:\snapraid.4-parity
|
|
|
|
|
#5-parity I:\snapraid.5-parity
|
|
|
|
|
#6-parity J:\snapraid.6-parity
|
2011-04-29 22:07:50 +02:00
|
|
|
|
2011-09-20 22:35:15 +02:00
|
|
|
# Defines the files to use as content list
|
|
|
|
|
# You can use multiple specification to store more copies
|
2011-09-19 20:45:35 +02:00
|
|
|
# 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
|
2011-04-29 22:07:50 +02:00
|
|
|
# Format: "content FILE_PATH"
|
2014-03-18 19:34:18 +01:00
|
|
|
content C:\snapraid\snapraid.content
|
|
|
|
|
content K:\array\snapraid.content
|
|
|
|
|
content L:\array\snapraid.content
|
2011-04-29 22:07:50 +02:00
|
|
|
|
|
|
|
|
# Defines the data disks to use
|
2014-09-03 23:21:51 +02:00
|
|
|
# The name and mount point association is relevant for parity, do not change it
|
2015-04-19 22:07:06 +02:00
|
|
|
# WARNING: Adding here your boot C:\ disk is NOT a good idea!
|
|
|
|
|
# SnapRAID is better suited for files that rarely changes!
|
2011-04-29 22:07:50 +02:00
|
|
|
# Format: "disk DISK_NAME DISK_MOUNT_POINT"
|
2013-10-26 00:05:23 +02:00
|
|
|
disk d1 K:\array\
|
|
|
|
|
disk d2 L:\array\
|
|
|
|
|
disk d3 M:\array\
|
2011-04-29 22:07:50 +02:00
|
|
|
|
2011-12-08 22:40:30 +01:00
|
|
|
# Excludes hidden files and directories (uncomment to enable).
|
2013-08-25 17:50:22 +02:00
|
|
|
#nohidden
|
2011-12-08 22:40:30 +01:00
|
|
|
|
2011-04-29 22:07:50 +02:00
|
|
|
# Defines files and directories to exclude
|
2011-05-03 23:28:03 +02:00
|
|
|
# Remember that all the paths are relative at the mount points
|
2011-04-29 22:07:50 +02:00
|
|
|
# Format: "exclude FILE"
|
2011-05-03 23:28:03 +02:00
|
|
|
# Format: "exclude DIR\"
|
|
|
|
|
# Format: "exclude \PATH\FILE"
|
|
|
|
|
# Format: "exclude \PATH\DIR\"
|
2011-10-09 23:41:08 +02:00
|
|
|
exclude *.unrecoverable
|
2011-05-04 19:22:39 +02:00
|
|
|
exclude Thumbs.db
|
2011-07-06 19:37:15 +02:00
|
|
|
exclude \$RECYCLE.BIN
|
|
|
|
|
exclude \System Volume Information
|
2013-10-07 22:46:56 +02:00
|
|
|
exclude \Program Files\
|
|
|
|
|
exclude \Program Files (x86)\
|
|
|
|
|
exclude \Windows\
|
2011-04-29 22:07:50 +02:00
|
|
|
|
2013-08-25 17:50:22 +02:00
|
|
|
# Defines the block size in kibi bytes (1024 bytes) (uncomment to enable).
|
2011-04-29 22:07:50 +02:00
|
|
|
# Default value is 256 -> 256 kibi bytes -> 262144 bytes
|
2014-02-12 22:10:06 +01:00
|
|
|
# Format: "blocksize SIZE_IN_KiB"
|
|
|
|
|
#blocksize 256
|
2011-04-29 22:07:50 +02:00
|
|
|
|
2012-03-13 23:59:59 +01:00
|
|
|
# Automatically save the state when synching after the specied amount
|
2015-03-29 23:18:30 +02:00
|
|
|
# of GB processed (uncomment to enable).
|
2012-03-13 23:59:59 +01:00
|
|
|
# This option is useful to avoid to restart from scratch long 'sync'
|
|
|
|
|
# commands interrupted by a machine crash.
|
2013-08-25 17:50:22 +02:00
|
|
|
# It also improves the recovering if a disk break during a 'sync'.
|
2012-03-13 23:59:59 +01:00
|
|
|
# Default value is 0, meaning disabled.
|
2015-03-29 23:18:30 +02:00
|
|
|
# Format: "autosave SIZE_IN_GB"
|
2013-09-15 16:12:14 +02:00
|
|
|
#autosave 500
|
2012-03-13 23:59:59 +01:00
|
|
|
|
2013-02-22 22:17:54 +01:00
|
|
|
# Defines the pooling directory where the virtual view of the disk
|
2013-08-25 17:50:22 +02:00
|
|
|
# array is created using the "pool" command (uncomment to enable).
|
2013-02-22 22:17:54 +01:00
|
|
|
# The files are not really copied here, but just linked using
|
|
|
|
|
# symbolic links.
|
|
|
|
|
# This directory must be outside the array.
|
|
|
|
|
# Format: "pool DIR"
|
|
|
|
|
#pool C:\pool
|
|
|
|
|
|
2013-12-18 19:26:57 +01:00
|
|
|
# Defines the Windows UNC path required to access disks from the pooling
|
|
|
|
|
# directory when shared in the network.
|
|
|
|
|
# If present (uncomment to enable), the symbolic links created in the
|
|
|
|
|
# pool virtual view, instead of using local paths, are created using the
|
|
|
|
|
# specified UNC path, adding the disk names and file path.
|
|
|
|
|
# This allows to share the pool directory in the network.
|
|
|
|
|
# See the manual page for more details.
|
|
|
|
|
#
|
|
|
|
|
# Format: "share UNC_DIR"
|
|
|
|
|
#share \\server
|
|
|
|
|
|
2015-04-08 22:56:44 +02:00
|
|
|
# Defines a custom smartctl command to obtain the SMART attributes
|
|
|
|
|
# for each disk. This may be required for RAID controllers and for
|
|
|
|
|
# some USB disk that cannot be autodetected.
|
|
|
|
|
# In the specified options, the "%s" string is replaced by the device name.
|
|
|
|
|
# Refers at the smartmontools documentation about the possible options:
|
|
|
|
|
# RAID -> https://www.smartmontools.org/wiki/Supported_RAID-Controllers
|
|
|
|
|
# USB -> https://www.smartmontools.org/wiki/Supported_USB-Devices
|
|
|
|
|
#smartctl d1 -d sat %s
|
|
|
|
|
#smartctl d2 -d usbjmicron %s
|
|
|
|
|
#smartctl parity -d areca,1/1 /dev/arcmsr0
|
|
|
|
|
#smartctl 2-parity -d areca,2/1 /dev/arcmsr0
|
|
|
|
|
|