diff options
author | David Teigland <teigland@redhat.com> | 2021-03-01 15:22:54 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-03-03 13:57:15 -0600 |
commit | 89a3440fc0179318954855aa251b0aae4f5c1a63 (patch) | |
tree | 66279eb0b2184402c9f08a09fbf119f7dd4c2f65 /lib/config | |
parent | e9d10f371199055e9ed0c2715b5353491cb759b0 (diff) | |
download | lvm2-89a3440fc0179318954855aa251b0aae4f5c1a63.tar.gz |
lvmlockctl: use lvm.conf lvmlockctl_kill_command
which specifies a command to run by lvmlockctl --kill.
Diffstat (limited to 'lib/config')
-rw-r--r-- | lib/config/config_settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index f04b435fb..fac5d6317 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -1152,6 +1152,15 @@ cfg(global_sanlock_lv_extend_CFG, "sanlock_lv_extend", global_CFG_SECTION, CFG_D "and can cause lvcreate to fail. Applicable only if LVM is compiled\n" "with lockd support\n") +cfg(global_lvmlockctl_kill_command_CFG, "lvmlockctl_kill_command", global_CFG_SECTION, CFG_ALLOW_EMPTY | CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, "", vsn(2, 3, 12), NULL, 0, NULL, + "The command that lvmlockctl --kill should use to force LVs offline.\n" + "The lvmlockctl --kill command is run when a shared VG has lost\n" + "access to locks (e.g. when sanlock has lost access to storage.)\n" + "An empty string means that there will be no automatic attempt by\n" + "lvmlockctl --kill to forcibly shut down LVs in the VG, and the user\n" + "can manually intervene as described in lvmlockd(8).\n" + "The VG name will be appended to the command specified here.\n") + cfg(global_thin_check_executable_CFG, "thin_check_executable", global_CFG_SECTION, CFG_ALLOW_EMPTY | CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, THIN_CHECK_CMD, vsn(2, 2, 94), "@THIN_CHECK_CMD@", 0, NULL, "The full path to the thin_check command.\n" "LVM uses this command to check that a thin metadata device is in a\n" |