]> sourceware.org Git - lvm2.git/commitdiff
lvmetad: improve warning after lvmetad message fails
authorDavid Teigland <teigland@redhat.com>
Wed, 27 Apr 2016 19:49:27 +0000 (14:49 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 27 Apr 2016 20:38:34 +0000 (15:38 -0500)
Make it more consistent with the other similar warning.

lib/cache/lvmetad.c

index 8a1a2c5388632174d2793bfa3a5ffa2354b9fcc0..8b63696914b6f862881475ad06a5c255a640d737 100644 (file)
@@ -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;
 }
This page took 1.195528 seconds and 5 git commands to generate.