mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Removes the --find-by-name, -N option. Now it automatically searches
by name if a file is not found searching by inode, automatically reassigning inodes in restored files
This commit is contained in:
parent
3a5ce4e522
commit
8eafeafcb6
11 changed files with 204 additions and 227 deletions
21
snapraid.txt
21
snapraid.txt
|
|
@ -11,7 +11,6 @@ snapraid [-c, --conf CONFIG]
|
|||
[-m, --filter-missing] [-e, --filter-error]
|
||||
[-a, --audit-only] [-i, --import DIR]
|
||||
[-p, --percentage PERC] [-o, --older-than DAYS]
|
||||
[-N, --find-by-name]
|
||||
[-Z, --force-zero] [-E, --force-empty]
|
||||
[-U, --force-uuid] [-D, --force-device]
|
||||
[-s, --start BLKSTART] [-t, --count BLKCOUNT]
|
||||
|
|
@ -491,20 +490,6 @@ SnapRAID provides the following options:
|
|||
identified regardless of their name.
|
||||
This option can be used only with the "check" and "fix" command.
|
||||
|
||||
-N, --find-by-name
|
||||
When syncing finds the files by path instead than by inode,
|
||||
and ignores the nanosecond part of timestamp.
|
||||
This option allows a fast sync command after having replaced
|
||||
one physical disk with another, copying manually the files.
|
||||
Without this option the "sync" command recognizes that
|
||||
the files were copied to a different disk, and it will resync
|
||||
them all. With this option, a file with the correct path,
|
||||
size and time with second precision is assumed identical at
|
||||
the previous one, and not resynched.
|
||||
The nanosecond part of timestamps is ignored because most of
|
||||
copy programs are not able to correctly restore it.
|
||||
This option can be used only with the "sync" and "diff" commands.
|
||||
|
||||
-Z, --force-zero
|
||||
Forces the insecure operation of syncing a file with zero
|
||||
size that before was not.
|
||||
|
|
@ -903,11 +888,7 @@ This command will take a long time.
|
|||
|
||||
Run the "sync" command to resyncronize the array with the new disk.
|
||||
|
||||
To avoid a long time sync you can use the "--find-by-name" option to
|
||||
force SnapRAID to ignore the fact that all the recovered files are now in
|
||||
a different physical disk, but they are not changed.
|
||||
|
||||
snapraid --find-by-name sync
|
||||
snapraid sync
|
||||
|
||||
If everything was recovered, this command is immediate.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue