mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 03:16:59 -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
12
snapraid.d
12
snapraid.d
|
|
@ -9,6 +9,7 @@ Synopsis
|
|||
: [-p, --percentage PERC] [-o, --older-than DAYS]
|
||||
: [-Z, --force-zero] [-E, --force-empty]
|
||||
: [-U, --force-uuid] [-D, --force-device]
|
||||
: [-N, --force-nocopy]
|
||||
: [-v, --verbose] [-l, --log FILE]
|
||||
: [-s, --start BLKSTART] [-t, --count BLKCOUNT]
|
||||
: status|sync|scrub|fix|check|list|diff|dup|pool|rehash
|
||||
|
|
@ -582,6 +583,17 @@ Options
|
|||
disk in the free space left in an already used disk. and this
|
||||
option allows you to continue anyway.
|
||||
|
||||
-N, --force-nocopy
|
||||
In the "sync" 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.
|
||||
|
||||
-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