From 4886a5d13fb2c907ee7f17d75d4c01405e3940ea Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 12 Oct 2014 10:50:48 +0200 Subject: [PATCH] Gives a hint about filled disks in parity write error. --- cmdline/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/sync.c b/cmdline/sync.c index 6c26a4af..a67b63d3 100644 --- a/cmdline/sync.c +++ b/cmdline/sync.c @@ -868,7 +868,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari /* LCOV_EXCL_START */ fprintf(stdlog, "parity_error:%u:%s: Write error\n", i, lev_config_name(l)); fprintf(stderr, "DANGER! Write error in the %s disk, it isn't possible to sync.\n", lev_name(l)); - fprintf(stderr, "Ensure that disk '%s' is sane.\n", lev_config_name(l)); + fprintf(stderr, "Ensure that disk '%s' is sane and have some free space available.\n", lev_config_name(l)); printf("Stopping at block %u\n", i); ++error; goto bail;