summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-18 15:38:34 +1100
committerNeilBrown <neilb@suse.de>2012-10-18 15:38:34 +1100
commitac78f24502d79e48dabc41e34cc08aabfe651091 (patch)
tree1d161ef57ba100d69867993ec7662c441ce9a5e7
parent0bc300d745321c623e3c6fde241666369eb606e6 (diff)
downloadmdadm-ac78f24502d79e48dabc41e34cc08aabfe651091.tar.gz
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 <neilb@suse.de>
-rw-r--r--Grow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Grow.c b/Grow.c
index 8e3b5c0..7a46e78 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 */
}
}