mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Make .unrecoverable a persistent one-way recovery quarantine
This commit is contained in:
parent
1a5b5728d2
commit
232526fa53
46 changed files with 646 additions and 367 deletions
|
|
@ -2355,13 +2355,16 @@ exact case for any non\-ASCII characters in configuration paths and filters.
|
|||
When \`fix\` cannot fully recover a damaged file, it quarantines it by
|
||||
appending the \`.unrecoverable\` extension to its name.
|
||||
.PP
|
||||
Conversely, if a missing file is being fixed and a corresponding
|
||||
\`.unrecoverable\` file already exists, SnapRAID assumes it is the result
|
||||
of a previous incomplete recovery and resumes writing to it in\-place.
|
||||
If a later \`fix\` retries the recovery, it creates a new file under the
|
||||
normal filename and preserves the old \`.unrecoverable\` file while recovery
|
||||
is in progress. If the retry fails, the new failed result replaces the old
|
||||
quarantine. If the retry succeeds completely, SnapRAID deletes the obsolete
|
||||
\`.unrecoverable\` file. A quarantine is never promoted back to the normal
|
||||
filename.
|
||||
.PP
|
||||
Because SnapRAID identifies quarantine files solely by their filename,
|
||||
any pre\-existing file that coincidentally uses the \`.unrecoverable\`
|
||||
suffix may be truncated, overwritten, or replaced if its base name
|
||||
suffix may be truncated, overwritten, replaced, or deleted if its base name
|
||||
matches a file being fixed.
|
||||
.PP
|
||||
Avoid using the \`.unrecoverable\` extension for regular files, and ensure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue