Peter Rajnoha 785220
 doc/example.conf.in        | 2 +-
Peter Rajnoha 785220
 lib/commands/toolcontext.c | 2 +-
Peter Rajnoha 785220
 2 files changed, 2 insertions(+), 2 deletions(-)
Peter Rajnoha 785220
Peter Rajnoha 785220
diff --git a/doc/example.conf.in b/doc/example.conf.in
Peter Rajnoha 785220
index 10cfe16..442ad64 100644
Peter Rajnoha 785220
--- a/doc/example.conf.in
Peter Rajnoha 785220
+++ b/doc/example.conf.in
Peter Rajnoha 785220
@@ -491,7 +491,7 @@ global {
Peter Rajnoha 785220
     #
Peter Rajnoha 785220
     # If lvmetad has been running while use_lvmetad was 0, it MUST be stopped
Peter Rajnoha 785220
     # before changing use_lvmetad to 1 and started again afterwards.
Peter Rajnoha 785220
-    use_lvmetad = 0
Peter Rajnoha 785220
+    use_lvmetad = 1
Peter Rajnoha 785220
 
Peter Rajnoha 785220
     # Full path of the utility called to check that a thin metadata device
Peter Rajnoha 785220
     # is in a state that allows it to be used.
Peter Rajnoha 785220
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
Peter Rajnoha 785220
index d72b0c0..d7f8ece 100644
Peter Rajnoha 785220
--- a/lib/commands/toolcontext.c
Peter Rajnoha 785220
+++ b/lib/commands/toolcontext.c
Peter Rajnoha 785220
@@ -413,7 +413,7 @@ static int _process_config(struct cmd_context *cmd)
Peter Rajnoha 785220
 	lvmetad_set_socket(lvmetad_socket);
Peter Rajnoha 785220
 	cn = find_config_tree_node(cmd, "devices/global_filter");
Peter Rajnoha 785220
 	lvmetad_set_token(cn ? cn->v : NULL);
Peter Rajnoha 785220
-	lvmetad_set_active(find_config_tree_int(cmd, "global/use_lvmetad", 0));
Peter Rajnoha 785220
+	lvmetad_set_active(find_config_tree_int(cmd, "global/use_lvmetad", 1));
Peter Rajnoha 785220
 	lvmetad_init(cmd);
Peter Rajnoha 785220
 
Peter Rajnoha 785220
 	return 1;