mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Some final changes.
This commit is contained in:
parent
550a2266cf
commit
a2344cf159
4 changed files with 49 additions and 49 deletions
28
snapraid.1
28
snapraid.1
|
|
@ -319,7 +319,7 @@ After a successful \(a"fix\(a", you should also run a \(a"sync\(a"
|
|||
command to update the new state of the files.
|
||||
.PP
|
||||
All the files that cannot be fixed are renamed adding
|
||||
the \(cq.unrecoverable\(cq extension.
|
||||
the \(a".unrecoverable\(a" extension.
|
||||
.PP
|
||||
The \(a"content\(a" file is NOT modified.
|
||||
The \(a"parity\(a" and \(a"q\(hyparity\(a" files are modified if necessary.
|
||||
|
|
@ -329,7 +329,7 @@ SnapRAID provides the following options:
|
|||
.TP
|
||||
.B \(hyc, \(hy\(hyconf CONFIG
|
||||
Selects the configuration file. If not specified it\(cqs assumed
|
||||
the file \(cq/etc/snapraid.conf\(cq in Unix, and \(cqsnapraid.conf\(cq in
|
||||
the file \(a"/etc/snapraid.conf\(a" in Unix, and \(a"snapraid.conf\(a" in
|
||||
the current directory in Windows.
|
||||
.TP
|
||||
.B \(hyf, \(hy\(hyfilter PATTERN
|
||||
|
|
@ -343,13 +343,13 @@ In Unix, ensure to quote globbing chars if used.
|
|||
.B \(hyN, \(hy\(hyfind\(hyby\(hyname
|
||||
When syncing finds the files by name instead than by inode.
|
||||
This option allows a fast sync command after having replaced
|
||||
one physical disk with another copying manually the files.
|
||||
Without this option the \(cqsync\(cq command recognizes that
|
||||
one physical disk with another, copying manually the files.
|
||||
Without this option the \(a"sync\(a" command recognizes that
|
||||
the files were copied to a different disk, and it will resync
|
||||
them all. Instead, with this option, a file with the correct
|
||||
name, size and time is assumed identical at the previous
|
||||
one.
|
||||
This option has effect only on the \(cqsync\(cq and \(cqdiff\(cq commands.
|
||||
This option has effect only on the \(a"sync\(a" and \(a"diff\(a" commands.
|
||||
.TP
|
||||
.B \(hyZ, \(hy\(hyforce\(hyzero
|
||||
Forces the insecure operation of syncing a file with zero
|
||||
|
|
@ -723,7 +723,7 @@ The worst happened, and you lost a disk!
|
|||
DO NOT PANIC! You will be able to recover it!
|
||||
.PP
|
||||
The first thing you have to do is to avoid futher changes at you disk array.
|
||||
Disable any remote connections to it, any scheduled processes, including any
|
||||
Disable any remote connection to it, any scheduled process, including any
|
||||
scheduled SnapRAID nightly sync.
|
||||
.PP
|
||||
Then proceed with the following steps.
|
||||
|
|
@ -731,7 +731,7 @@ Then proceed with the following steps.
|
|||
You need some space to recover, even better if you already have an additional
|
||||
disk, but in case, also an external USB or remote one is enough.
|
||||
.PP
|
||||
Change the SnapRAID configuration and change the \(cqdisk\(cq directory
|
||||
Change the SnapRAID configuration and change the \(a"disk\(a" directory
|
||||
of the failed disk to point to the new empty space.
|
||||
.SS STEP 2 \(hy> Fix
|
||||
Run the fix command, storing the log in an external file with:
|
||||
|
|
@ -755,14 +755,14 @@ You can get a detailed list of all the unrecoverable blocks in the fix.log file
|
|||
checking all the lines starting with \(a"unrecoverable:\(a"
|
||||
.PP
|
||||
If you are not satified of the recovering, you can retry it as many time you wish.
|
||||
For example, if you have moved away some files from other disks after the last \(cqsync\(cq,
|
||||
you can retry to put them inplace, and retry the \(cqfix\(cq.
|
||||
For example, if you have moved away some files from other disks after the last \(a"sync\(a",
|
||||
you can retry to put them inplace, and retry the \(a"fix\(a".
|
||||
.PP
|
||||
If you are satisfied of the recovering, you can now proceed further,
|
||||
but take care that after synching you will no more able to retry the
|
||||
\(cqfix\(cq command!
|
||||
\(a"fix\(a" command!
|
||||
.SS STEP 3 \(hy> Check
|
||||
As paranoid check, you can now run a whole \(cqcheck\(cq command to ensure that
|
||||
As paranoid check, you can now run a whole \(a"check\(a" command to ensure that
|
||||
everything is OK.
|
||||
.PP
|
||||
.RS 4
|
||||
|
|
@ -774,11 +774,11 @@ snapraid check
|
|||
.PP
|
||||
This command will take a long time.
|
||||
.SS STEP 4 \(hy> Sync
|
||||
Run the \(cqsync\(cq command to resyncronize the array with the new disk.
|
||||
Run the \(a"sync\(a" command to resyncronize the array with the new disk.
|
||||
.PP
|
||||
To avoid a long time sync you can use the \(cq\(hy\(hyfind\(hyby\(hyname\(cq option to
|
||||
To avoid a long time sync you can use the \(a"\(hy\(hyfind\(hyby\(hyname\(a" option to
|
||||
force SnapRAID to ignore the fact that all the recovered files are now in
|
||||
a different physical disk, and they don\(cqt need to be synched.
|
||||
a different physical disk, but they are not changed.
|
||||
.PP
|
||||
.RS 4
|
||||
snapraid \(hy\(hyfind\(hyby\(hyname sync
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue