mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -05:00
Documentation changes.
This commit is contained in:
parent
6bead7d180
commit
5d91e37c9a
4 changed files with 110 additions and 35 deletions
11
README
11
README
|
|
@ -1,10 +1,10 @@
|
||||||
SnapRAID
|
SnapRAID
|
||||||
========
|
========
|
||||||
|
|
||||||
SnapRAID is a backup program for a disk array using redundancy.
|
SnapRAID is a backup program for a disk array.
|
||||||
|
|
||||||
SnapRAID uses a disk of the array to store redundancy information,
|
SnapRAID stores redundancy information in the disk array,
|
||||||
and it allows to recover from up to two disk failures.
|
and it allows recovering from up to two disk failures.
|
||||||
|
|
||||||
SnapRAID is mainly targeted for a home media center, where you have
|
SnapRAID is mainly targeted for a home media center, where you have
|
||||||
a lot of big files that rarely change.
|
a lot of big files that rarely change.
|
||||||
|
|
@ -17,11 +17,12 @@ features of SnapRAID are:
|
||||||
* You can add more disks at any time.
|
* You can add more disks at any time.
|
||||||
* If you accidentally delete some files in a disk, you can
|
* If you accidentally delete some files in a disk, you can
|
||||||
recover them.
|
recover them.
|
||||||
* If more than two disk fails, you lose the data only on the
|
* If more than two disks fail, you lose the data only on the
|
||||||
failed disks. All the data in the other disks is safe.
|
failed disks. All the data in the other disks is safe.
|
||||||
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
||||||
time without the need to reformat or move data.
|
time without the need to reformat or move data.
|
||||||
* All your data is hashed to ensure data integrity.
|
* All your data is hashed to ensure data integrity and avoid
|
||||||
|
silent corruption.
|
||||||
|
|
||||||
The official site of SnapRAID is:
|
The official site of SnapRAID is:
|
||||||
|
|
||||||
|
|
|
||||||
66
snapraid.1
66
snapraid.1
|
|
@ -28,10 +28,10 @@ snapraid [\(hyV, \(hy\(hyversion] [\(hyh, \(hy\(hyhelp]
|
||||||
.PP
|
.PP
|
||||||
.PD
|
.PD
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
SnapRAID is a backup program for a disk array using redundancy.
|
SnapRAID is a backup program for a disk array.
|
||||||
.PP
|
.PP
|
||||||
SnapRAID uses a disk of the array to store redundancy information,
|
SnapRAID stores redundancy information in the disk array,
|
||||||
and it allows to recover from up to two disk failures.
|
and it allows recovering from up to two disk failures.
|
||||||
.PP
|
.PP
|
||||||
SnapRAID is mainly targeted for a home media center, where you have
|
SnapRAID is mainly targeted for a home media center, where you have
|
||||||
a lot of big files that rarely change.
|
a lot of big files that rarely change.
|
||||||
|
|
@ -49,13 +49,14 @@ You can add more disks at any time.
|
||||||
If you accidentally delete some files in a disk, you can
|
If you accidentally delete some files in a disk, you can
|
||||||
recover them.
|
recover them.
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
If more than two disk fails, you lose the data only on the
|
If more than two disks fail, you lose the data only on the
|
||||||
failed disks. All the data in the other disks is safe.
|
failed disks. All the data in the other disks is safe.
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
It doesn\(cqt lock\(hyin your data. You can stop using SnapRAID at any
|
It doesn\(cqt lock\(hyin your data. You can stop using SnapRAID at any
|
||||||
time without the need to reformat or move data.
|
time without the need to reformat or move data.
|
||||||
.IP \(bu
|
.IP \(bu
|
||||||
All your data is hashed to ensure data integrity.
|
All your data is hashed to ensure data integrity and avoid
|
||||||
|
silent corruption.
|
||||||
.PD
|
.PD
|
||||||
.PP
|
.PP
|
||||||
The official site of SnapRAID is:
|
The official site of SnapRAID is:
|
||||||
|
|
@ -71,7 +72,7 @@ SnapRAID is in between a RAID and a Backup program trying to get the best
|
||||||
benefits of them. Although it also has some limitations that you should
|
benefits of them. Although it also has some limitations that you should
|
||||||
consider before using it.
|
consider before using it.
|
||||||
.PP
|
.PP
|
||||||
The main one, is that if a disk fail, and you haven\(cqt recently synced,
|
The main one is that if a disk fails, and you haven\(cqt recently synced,
|
||||||
you may not able to do a complete recover.
|
you may not able to do a complete recover.
|
||||||
More specifically, you may be unable to recover up to the size of the
|
More specifically, you may be unable to recover up to the size of the
|
||||||
amount of the changed or deleted files, from the last sync operation.
|
amount of the changed or deleted files, from the last sync operation.
|
||||||
|
|
@ -345,7 +346,7 @@ is located, and where storing the redundancy information.
|
||||||
This configuration file is located in /etc/snapraid.conf in Unix or
|
This configuration file is located in /etc/snapraid.conf in Unix or
|
||||||
in the execution directory in Windows.
|
in the execution directory in Windows.
|
||||||
.PP
|
.PP
|
||||||
It should contains the following options:
|
It should contain the following options:
|
||||||
.TP
|
.TP
|
||||||
.B parity FILE
|
.B parity FILE
|
||||||
Defines the file to use to store the parity information.
|
Defines the file to use to store the parity information.
|
||||||
|
|
@ -370,7 +371,7 @@ This option is optional and it can be used only one time.
|
||||||
.B content FILE
|
.B content FILE
|
||||||
Defines the file to use to store the list and checksums of all the
|
Defines the file to use to store the list and checksums of all the
|
||||||
files present in your disk array.
|
files present in your disk array.
|
||||||
It can be placed in the same disk of the parity and q\(hyaparity files,
|
It can be placed in the same disk of the parity and q\(hyparity files,
|
||||||
but NOT in a data disk of the array.
|
but NOT in a data disk of the array.
|
||||||
This option is mandatory and it can be used more time to save
|
This option is mandatory and it can be used more time to save
|
||||||
more copies of the same files.
|
more copies of the same files.
|
||||||
|
|
@ -438,7 +439,7 @@ For example, with 10000 files and a 256 KiB block size, you are
|
||||||
going to waste 1.2 GiB.
|
going to waste 1.2 GiB.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
An example of a typical configuration is:
|
An example of a typical configuration for Unix is:
|
||||||
.PP
|
.PP
|
||||||
.RS 4
|
.RS 4
|
||||||
parity /mnt/diskpar/parity
|
parity /mnt/diskpar/parity
|
||||||
|
|
@ -473,7 +474,52 @@ exclude /lost+found/
|
||||||
.PD 0
|
.PD 0
|
||||||
.PP
|
.PP
|
||||||
.PD
|
.PD
|
||||||
exclude tmp/
|
exclude /tmp/
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
An example of a typical configuration for Windows is:
|
||||||
|
.PP
|
||||||
|
.RS 4
|
||||||
|
parity E:\(rspar\(rsparity
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
content E:\(rspar\(rscontent
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
content C:\(rssnapraid\(rscontent
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
disk d1 G:\(rsarray\(rs
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
disk d2 H:\(rsarray\(rs
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
disk d3 I:\(rsarray\(rs
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
exclude *.bak
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
exclude Thumbs.db
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
exclude \(rs$RECYCLE.BIN\(rs
|
||||||
|
.PD 0
|
||||||
|
.PP
|
||||||
|
.PD
|
||||||
|
exclude \(rsSystem Volume Information\(rs
|
||||||
.PD 0
|
.PD 0
|
||||||
.PP
|
.PP
|
||||||
.PD
|
.PD
|
||||||
|
|
|
||||||
34
snapraid.d
34
snapraid.d
|
|
@ -11,10 +11,10 @@ Synopsis
|
||||||
:snapraid [-V, --version] [-h, --help]
|
:snapraid [-V, --version] [-h, --help]
|
||||||
|
|
||||||
Description
|
Description
|
||||||
SnapRAID is a backup program for a disk array using redundancy.
|
SnapRAID is a backup program for a disk array.
|
||||||
|
|
||||||
SnapRAID uses a disk of the array to store redundancy information,
|
SnapRAID stores redundancy information in the disk array,
|
||||||
and it allows to recover from up to two disk failures.
|
and it allows recovering from up to two disk failures.
|
||||||
|
|
||||||
SnapRAID is mainly targeted for a home media center, where you have
|
SnapRAID is mainly targeted for a home media center, where you have
|
||||||
a lot of big files that rarely change.
|
a lot of big files that rarely change.
|
||||||
|
|
@ -27,11 +27,12 @@ Description
|
||||||
* You can add more disks at any time.
|
* You can add more disks at any time.
|
||||||
* If you accidentally delete some files in a disk, you can
|
* If you accidentally delete some files in a disk, you can
|
||||||
recover them.
|
recover them.
|
||||||
* If more than two disk fails, you lose the data only on the
|
* If more than two disks fail, you lose the data only on the
|
||||||
failed disks. All the data in the other disks is safe.
|
failed disks. All the data in the other disks is safe.
|
||||||
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
||||||
time without the need to reformat or move data.
|
time without the need to reformat or move data.
|
||||||
* All your data is hashed to ensure data integrity.
|
* All your data is hashed to ensure data integrity and avoid
|
||||||
|
silent corruption.
|
||||||
|
|
||||||
The official site of SnapRAID is:
|
The official site of SnapRAID is:
|
||||||
|
|
||||||
|
|
@ -42,7 +43,7 @@ Limitations
|
||||||
benefits of them. Although it also has some limitations that you should
|
benefits of them. Although it also has some limitations that you should
|
||||||
consider before using it.
|
consider before using it.
|
||||||
|
|
||||||
The main one, is that if a disk fail, and you haven't recently synced,
|
The main one is that if a disk fails, and you haven't recently synced,
|
||||||
you may not able to do a complete recover.
|
you may not able to do a complete recover.
|
||||||
More specifically, you may be unable to recover up to the size of the
|
More specifically, you may be unable to recover up to the size of the
|
||||||
amount of the changed or deleted files, from the last sync operation.
|
amount of the changed or deleted files, from the last sync operation.
|
||||||
|
|
@ -241,7 +242,7 @@ Configuration
|
||||||
This configuration file is located in /etc/snapraid.conf in Unix or
|
This configuration file is located in /etc/snapraid.conf in Unix or
|
||||||
in the execution directory in Windows.
|
in the execution directory in Windows.
|
||||||
|
|
||||||
It should contains the following options:
|
It should contain the following options:
|
||||||
|
|
||||||
=parity FILE
|
=parity FILE
|
||||||
Defines the file to use to store the parity information.
|
Defines the file to use to store the parity information.
|
||||||
|
|
@ -266,7 +267,7 @@ Configuration
|
||||||
=content FILE
|
=content FILE
|
||||||
Defines the file to use to store the list and checksums of all the
|
Defines the file to use to store the list and checksums of all the
|
||||||
files present in your disk array.
|
files present in your disk array.
|
||||||
It can be placed in the same disk of the parity and q-aparity files,
|
It can be placed in the same disk of the parity and q-parity files,
|
||||||
but NOT in a data disk of the array.
|
but NOT in a data disk of the array.
|
||||||
This option is mandatory and it can be used more time to save
|
This option is mandatory and it can be used more time to save
|
||||||
more copies of the same files.
|
more copies of the same files.
|
||||||
|
|
@ -322,7 +323,7 @@ Configuration
|
||||||
For example, with 10000 files and a 256 KiB block size, you are
|
For example, with 10000 files and a 256 KiB block size, you are
|
||||||
going to waste 1.2 GiB.
|
going to waste 1.2 GiB.
|
||||||
|
|
||||||
An example of a typical configuration is:
|
An example of a typical configuration for Unix is:
|
||||||
|
|
||||||
:parity /mnt/diskpar/parity
|
:parity /mnt/diskpar/parity
|
||||||
:content /mnt/diskpar/content
|
:content /mnt/diskpar/content
|
||||||
|
|
@ -332,7 +333,20 @@ Configuration
|
||||||
:disk d3 /mnt/disk3/
|
:disk d3 /mnt/disk3/
|
||||||
:exclude *.bak
|
:exclude *.bak
|
||||||
:exclude /lost+found/
|
:exclude /lost+found/
|
||||||
:exclude tmp/
|
:exclude /tmp/
|
||||||
|
|
||||||
|
An example of a typical configuration for Windows is:
|
||||||
|
|
||||||
|
:parity E:\par\parity
|
||||||
|
:content E:\par\content
|
||||||
|
:content C:\snapraid\content
|
||||||
|
:disk d1 G:\array\
|
||||||
|
:disk d2 H:\array\
|
||||||
|
:disk d3 I:\array\
|
||||||
|
:exclude *.bak
|
||||||
|
:exclude Thumbs.db
|
||||||
|
:exclude \$RECYCLE.BIN\
|
||||||
|
:exclude \System Volume Information\
|
||||||
|
|
||||||
Pattern
|
Pattern
|
||||||
Patterns are used to select a subset of files to exclude or include in
|
Patterns are used to select a subset of files to exclude or include in
|
||||||
|
|
|
||||||
34
snapraid.txt
34
snapraid.txt
|
|
@ -18,10 +18,10 @@ snapraid [-V, --version] [-h, --help]
|
||||||
2 DESCRIPTION
|
2 DESCRIPTION
|
||||||
=============
|
=============
|
||||||
|
|
||||||
SnapRAID is a backup program for a disk array using redundancy.
|
SnapRAID is a backup program for a disk array.
|
||||||
|
|
||||||
SnapRAID uses a disk of the array to store redundancy information,
|
SnapRAID stores redundancy information in the disk array,
|
||||||
and it allows to recover from up to two disk failures.
|
and it allows recovering from up to two disk failures.
|
||||||
|
|
||||||
SnapRAID is mainly targeted for a home media center, where you have
|
SnapRAID is mainly targeted for a home media center, where you have
|
||||||
a lot of big files that rarely change.
|
a lot of big files that rarely change.
|
||||||
|
|
@ -34,11 +34,12 @@ features of SnapRAID are:
|
||||||
* You can add more disks at any time.
|
* You can add more disks at any time.
|
||||||
* If you accidentally delete some files in a disk, you can
|
* If you accidentally delete some files in a disk, you can
|
||||||
recover them.
|
recover them.
|
||||||
* If more than two disk fails, you lose the data only on the
|
* If more than two disks fail, you lose the data only on the
|
||||||
failed disks. All the data in the other disks is safe.
|
failed disks. All the data in the other disks is safe.
|
||||||
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
* It doesn't lock-in your data. You can stop using SnapRAID at any
|
||||||
time without the need to reformat or move data.
|
time without the need to reformat or move data.
|
||||||
* All your data is hashed to ensure data integrity.
|
* All your data is hashed to ensure data integrity and avoid
|
||||||
|
silent corruption.
|
||||||
|
|
||||||
The official site of SnapRAID is:
|
The official site of SnapRAID is:
|
||||||
|
|
||||||
|
|
@ -52,7 +53,7 @@ SnapRAID is in between a RAID and a Backup program trying to get the best
|
||||||
benefits of them. Although it also has some limitations that you should
|
benefits of them. Although it also has some limitations that you should
|
||||||
consider before using it.
|
consider before using it.
|
||||||
|
|
||||||
The main one, is that if a disk fail, and you haven't recently synced,
|
The main one is that if a disk fails, and you haven't recently synced,
|
||||||
you may not able to do a complete recover.
|
you may not able to do a complete recover.
|
||||||
More specifically, you may be unable to recover up to the size of the
|
More specifically, you may be unable to recover up to the size of the
|
||||||
amount of the changed or deleted files, from the last sync operation.
|
amount of the changed or deleted files, from the last sync operation.
|
||||||
|
|
@ -263,7 +264,7 @@ is located, and where storing the redundancy information.
|
||||||
This configuration file is located in /etc/snapraid.conf in Unix or
|
This configuration file is located in /etc/snapraid.conf in Unix or
|
||||||
in the execution directory in Windows.
|
in the execution directory in Windows.
|
||||||
|
|
||||||
It should contains the following options:
|
It should contain the following options:
|
||||||
|
|
||||||
parity FILE
|
parity FILE
|
||||||
Defines the file to use to store the parity information.
|
Defines the file to use to store the parity information.
|
||||||
|
|
@ -288,7 +289,7 @@ It should contains the following options:
|
||||||
content FILE
|
content FILE
|
||||||
Defines the file to use to store the list and checksums of all the
|
Defines the file to use to store the list and checksums of all the
|
||||||
files present in your disk array.
|
files present in your disk array.
|
||||||
It can be placed in the same disk of the parity and q-aparity files,
|
It can be placed in the same disk of the parity and q-parity files,
|
||||||
but NOT in a data disk of the array.
|
but NOT in a data disk of the array.
|
||||||
This option is mandatory and it can be used more time to save
|
This option is mandatory and it can be used more time to save
|
||||||
more copies of the same files.
|
more copies of the same files.
|
||||||
|
|
@ -344,7 +345,7 @@ It should contains the following options:
|
||||||
For example, with 10000 files and a 256 KiB block size, you are
|
For example, with 10000 files and a 256 KiB block size, you are
|
||||||
going to waste 1.2 GiB.
|
going to waste 1.2 GiB.
|
||||||
|
|
||||||
An example of a typical configuration is:
|
An example of a typical configuration for Unix is:
|
||||||
|
|
||||||
parity /mnt/diskpar/parity
|
parity /mnt/diskpar/parity
|
||||||
content /mnt/diskpar/content
|
content /mnt/diskpar/content
|
||||||
|
|
@ -354,7 +355,20 @@ An example of a typical configuration is:
|
||||||
disk d3 /mnt/disk3/
|
disk d3 /mnt/disk3/
|
||||||
exclude *.bak
|
exclude *.bak
|
||||||
exclude /lost+found/
|
exclude /lost+found/
|
||||||
exclude tmp/
|
exclude /tmp/
|
||||||
|
|
||||||
|
An example of a typical configuration for Windows is:
|
||||||
|
|
||||||
|
parity E:\par\parity
|
||||||
|
content E:\par\content
|
||||||
|
content C:\snapraid\content
|
||||||
|
disk d1 G:\array\
|
||||||
|
disk d2 H:\array\
|
||||||
|
disk d3 I:\array\
|
||||||
|
exclude *.bak
|
||||||
|
exclude Thumbs.db
|
||||||
|
exclude \$RECYCLE.BIN\
|
||||||
|
exclude \System Volume Information\
|
||||||
|
|
||||||
|
|
||||||
8 PATTERN
|
8 PATTERN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue