mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Allows 1 or 2 UUID change without the need of the -U option.
This commit is contained in:
parent
768113c670
commit
1973c32f30
4 changed files with 13 additions and 16 deletions
2
state.c
2
state.c
|
|
@ -727,7 +727,7 @@ static void state_map(struct snapraid_state* state)
|
|||
pathcpy(map->uuid, sizeof(map->uuid), uuid);
|
||||
}
|
||||
|
||||
if (!state->force_uuid && uuid_mismatch > 0) {
|
||||
if (!state->force_uuid && uuid_mismatch > state->level) {
|
||||
fprintf(stderr, "Some disks have UUID changed from the latest 'sync'.\n");
|
||||
fprintf(stderr, "If this happens because you really replaced them,\n");
|
||||
fprintf(stderr, "you can '%s' anyway, using 'snapraid --force-uuid %s'.\n", state->command, state->command);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue