mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Uses a smarter copy detection to avoid false positive.
Now a if the file has a zero nanosecond timestamp, it must match the full pathname. Also add the new -N option and an new undocumented test-nano command to set randomly the nanosecond timestamp of files that have it at zero.
This commit is contained in:
parent
c840a3e287
commit
de86307a27
13 changed files with 152 additions and 32 deletions
15
snapraid.1
15
snapraid.1
|
|
@ -29,6 +29,10 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
[\-U, \-\-force\-uuid] [\-D, \-\-force\-device]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-N, \-\-force\-nocopy]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-v, \-\-verbose] [\-l, \-\-log FILE]
|
||||
.PD 0
|
||||
|
|
@ -816,6 +820,17 @@ But it could happen that you want to temporarily restore a lost
|
|||
disk in the free space left in an already used disk. and this
|
||||
option allows you to continue anyway.
|
||||
.TP
|
||||
.B \-N, \-\-force\-nocopy
|
||||
In the \[dq]sync\[dq] command, disables the copy detection optimization.
|
||||
Withouth this option SnapRAID assumes that files with the
|
||||
same name, size, and nanosecond timestamp are copies with the
|
||||
same data.
|
||||
This allows to identify copied files from one dir to another,
|
||||
and to reuse the already computed hash information to detect
|
||||
silent errors in the copy.
|
||||
This behaviour, in some rare cases, may result in false positives,
|
||||
and this option allow to resolve them.
|
||||
.TP
|
||||
.B \-l, \-\-log FILE
|
||||
Write a detailed log of errors found in check and fix.
|
||||
This log contains the exact specification of which block of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue