diff options
author | NeilBrown <neilb@suse.de> | 2012-10-18 15:38:34 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-18 15:38:34 +1100 |
commit | ac78f24502d79e48dabc41e34cc08aabfe651091 (patch) | |
tree | 1d161ef57ba100d69867993ec7662c441ce9a5e7 | |
parent | 0bc300d745321c623e3c6fde241666369eb606e6 (diff) | |
download | mdadm-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ } } |