From: David Teigland Date: Wed, 27 Apr 2016 19:49:27 +0000 (-0500) Subject: lvmetad: improve warning after lvmetad message fails X-Git-Tag: v2_02_152~5 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=263c1a4db51184c718e85c1c3fdcef7908dd7c88;p=lvm2.git lvmetad: improve warning after lvmetad message fails Make it more consistent with the other similar warning. --- diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c index 8a1a2c538..8b6369691 100644 --- a/lib/cache/lvmetad.c +++ b/lib/cache/lvmetad.c @@ -643,7 +643,7 @@ fail: * commands will not use it until it's been properly repopulated. */ if (action_modifies) - log_error("lvmetad update failed. Restart lvmetad immediately."); + log_warn("WARNING: To avoid corruption, restart lvmetad (or disable with use_lvmetad=0)."); return 0; }