Skip to contentSkip to conversation

master - lvmetad: improve warning after lvmetad message fails

PATCH David Teigland 1 participant 1 message Apr 27, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=263c1a4db51184c718e85c1c3fdcef7908dd7c88
Commit:        263c1a4db51184c718e85c1c3fdcef7908dd7c88
Parent:        3c53acb378478f23acf624be8836c0cb24c2724e
Author:        David Teigland <[email protected]>
AuthorDate:    Wed Apr 27 14:49:27 2016 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Wed Apr 27 15:38:34 2016 -0500

lvmetad: improve warning after lvmetad message fails

Make it more consistent with the other similar warning.

---
 lib/cache/lvmetad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/cache/lvmetad.c +1 -1
index 8a1a2c5..8b63696 100644
@@ -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;
 }