mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Prints data errors also for parity in scrub.
This commit is contained in:
parent
030a70fcd3
commit
b423e7490e
1 changed files with 4 additions and 0 deletions
4
scrub.c
4
scrub.c
|
|
@ -333,6 +333,10 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
++error;
|
||||
error_on_this_block = 1;
|
||||
} else {
|
||||
fprintf(stderr, "Data error in parity '%s' at position '%u'\n", lev_config_name(l), i);
|
||||
fprintf(stderr, "WARNING! Unexpected data error in a parity disk! The block is now marked as bad!\n");
|
||||
fprintf(stderr, "Try with 'snapraid -e fix' to recover!\n");
|
||||
|
||||
++silent_error;
|
||||
silent_error_on_this_block = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue