From: NeilBrown Date: Thu, 18 Oct 2012 04:38:34 +0000 (+1100) Subject: Grow: make warning about old metadata more explicit. X-Git-Tag: mdadm-3.2.6~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac78f24502d79e48dabc41e34cc08aabfe651091;p=thirdparty%2Fmdadm.git Grow: make warning about old metadata more explicit. Don't print it just when --verbose is set, and explain how to over-ride it. Signed-off-by: NeilBrown --- diff --git a/Grow.c b/Grow.c index 8e3b5c0f..7a46e780 100644 --- a/Grow.c +++ b/Grow.c @@ -3755,9 +3755,8 @@ int Grow_restart(struct supertype *st, struct mdinfo *info, int *fdlist, int cnt (unsigned long)__le64_to_cpu(bsb.mtime), (unsigned long)info->array.utime); } else { - if (verbose) - fprintf(stderr, Name ": too-old timestamp on " - "backup-metadata on %s\n", devname); + fprintf(stderr, Name ": too-old timestamp on backup-metadata on %s\n", devname); + fprintf(stderr, Name ": If you think it is should be safe, try 'export MDADM_GROW_ALLOW_OLD=1'\n"); continue; /* time stamp is too bad */ } }