OCF_HEARTBEAT_LVMLOC(7)
π NAME π
okay bestie, welcome to OCF_HEARTBEAT_LVMLOC(7), brought to you by the OCF resource agents crew. this page is for ocf_heartbeat_lvmlockd, and it manages the lvmlockd daemon β that's the whole name-and-mission combo. periodt. π
π¦ SYNOPSIS π¦
the invocation vibe check is literally:
lvmlockd [start | stop | monitor | meta-data | validate-all]
πΈ DESCRIPTION πΈ
okay so this agent manages the lvmlockd daemon. "lvmlockd" is like "clvmd" β both are used by LVM commands to coordinate access to shared storage, but with different design and implementations. "lvmlockd" can use two lock managers: dlm and sanlock. this agent only supports "dlm + lvmlockd". if dlm (or corosync) are already being used by other cluster software, you are advised to select dlm, then configure the "controld" resource agent for dlm and this agent for "lvmlockd". otherwise, consider sanlock for "lvmlockd" if dlm/corosync is not required. fr fr, that's the whole lock-manager situation. π«Ά
using lvmlockd requires the settings in the LVM configuration file (/etc/lvm/lvm.conf): "locking_type = 1" and "use_lvmlockd = 1". this RA will change the settings respectively if needed β highkey obsessed with how it handles that. β¨
for more information, refer to manpage lvmlockd.8. iykyk. π
π SUPPORTED PARAMETERS π
here's the full parameter squad, bestie β every single one, no skips, and yes it ate:
pidfileβ pid file. it'soptional, typestring, default"/run/lvmlockd.pid". πsocket_pathβ Set the socket path to listen on. it'soptional, typestring, default"/run/lvm/lvmlockd.socket". π₯syslog_priorityβ Write log messages from this level up to syslog. it'soptional, typestring, default"warning". βadoptβ Adopt locks from a previous instance oflvmlockd. it'soptional, typeinteger, default1. π
β¨ SUPPORTED ACTIONS β¨
this resource agent supports the following actions (operations), and yes, the timeouts are part of the lore:
startβ Starts the resource. Suggested minimum timeout:90s. πstopβ Stops the resource. Suggested minimum timeout:90s. πmonitorβ Performs a detailed status check. Suggested minimum timeout:90s. Suggested interval:30s. πmeta-dataβ Retrieves resource agent metadata (internal use only). Suggested minimum timeout:10s. π§validate-allβ Performs a validation of the resource configuration. Suggested minimum timeout:20s. β
π EXAMPLE CRM SHELL π
the following is an example configuration for a lvmlockd resource using the crm(8) shell:
primitive p_lvmlockd ocf:heartbeat:lvmlockd \
op monitor timeout="90s" interval="30s" depth="0"
π¦ EXAMPLE PCS π¦
the following is an example configuration for a lvmlockd resource using pcs(8)
pcs resource create p_lvmlockd ocf:heartbeat:lvmlockd \
op monitor timeout="90s" interval="30s" OCF_CHECK_LEVEL="0"
π SEE ALSO π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). π
xoxo bestie β source/version resource-agents UNKNOWN, date 10/01/2026, signing off as OCF_HEARTBEAT_LVMLOC(7). π
π
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms