summaryrefslogtreecommitdiff
path: root/lib/config
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-01-25 16:05:32 -0600
committerDavid Teigland <teigland@redhat.com>2022-01-27 16:43:11 -0600
commitee8fb0310c53ed003a43b324c99cdfd891dd1a7c (patch)
tree02666dd7745226b0ddfcfa58cd38f62c7a1a57cc /lib/config
parenta425729da9e756a91a5729addb26029216bfd476 (diff)
downloadlvm2-ee8fb0310c53ed003a43b324c99cdfd891dd1a7c.tar.gz
remove static autoactivation
event based autoactivation is now the only method that lvm provides for autoactivation. Setting lvm.conf event_activation=0 can still be used to disable event based autoactivation commands, but doing so will no longer enable static autoactivation.
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/config_settings.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index d280e7adb..bda6207d7 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -1119,16 +1119,11 @@ cfg(global_lvdisplay_shows_full_device_path_CFG, "lvdisplay_shows_full_device_pa
"was never a valid path in the /dev filesystem.\n")
cfg(global_event_activation_CFG, "event_activation", global_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, 1, vsn(2, 3, 1), 0, 0, NULL,
- "Activate LVs based on system-generated device events.\n"
- "When a PV appears on the system, a system-generated uevent triggers\n"
- "the lvm2-pvscan service which runs the pvscan --cache -aay command.\n"
- "If the new PV completes a VG, pvscan autoactivates LVs in the VG.\n"
- "When event_activation is disabled, the lvm2-activation services are\n"
- "generated and run at fixed points during system startup. These\n"
- "services run vgchange -aay to autoactivate LVs in VGs that happen\n"
- "to be present at that point in time.\n"
- "See the --setautoactivation option or the auto_activation_volume_list\n"
- "setting to configure autoactivation for specific VGs or LVs.\n")
+ "Disable event based autoactivation commands.\n"
+ "WARNING: setting this to zero may cause machine startup to fail.\n"
+ "Previously, setting this to zero would enable static autoactivation\n"
+ "services (via the lvm2-activation-generator), but the autoactivation\n"
+ "services and generator have been removed.\n")
cfg(global_use_lvmetad_CFG, "use_lvmetad", global_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, 0, vsn(2, 2, 93), 0, vsn(2, 3, 0), NULL,
NULL)