mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Change the scrub error msg if there are too many errors
This commit is contained in:
parent
6c91927803
commit
2e248b42ae
1 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
msg_tag("error:%u:%s:%s: Read EIO error at position %u. %s\n", i, disk->name, esc(file->sub), block_file_pos(block), strerror(errno));
|
||||
if (io_error >= state->opt.io_error_limit) {
|
||||
/* LCOV_EXCL_START */
|
||||
msg_error("DANGER! Unexpected input/output read error in a data disk, it isn't possible to scrub.\n");
|
||||
msg_error("DANGER! Too many input/output read error in a data disk, it isn't possible to scrub.\n");
|
||||
msg_error("Ensure that disk '%s' is sane and that file '%s' can be accessed.\n", disk->dir, handle[j].path);
|
||||
msg_error("Stopping at block %u\n", i);
|
||||
++io_error;
|
||||
|
|
@ -369,7 +369,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
msg_tag("parity_error:%u:%s: Read EIO error. %s\n", i, lev_config_name(l), strerror(errno));
|
||||
if (io_error >= state->opt.io_error_limit) {
|
||||
/* LCOV_EXCL_START */
|
||||
msg_error("DANGER! Unexpected input/output read error in the %s disk, it isn't possible to scrub.\n", lev_name(l));
|
||||
msg_error("DANGER! Too many input/output read error in the %s disk, it isn't possible to scrub.\n", lev_name(l));
|
||||
msg_error("Ensure that disk '%s' is sane and can be read.\n", lev_config_name(l));
|
||||
msg_error("Stopping at block %u\n", i);
|
||||
++io_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue