LVM commands fail with "Global lock failed: check that lvmlockd is running" after deleting an lvmlockd resource in a Pacemaker cluster
Issue
- I deleted an
ocf:heartbeat:lvmlockd
resource from a Pacemaker cluster, and now LVM commands likepvcreate
andvgcreate
fail. The errors say the failure is due tolvmlockd
not running.
# pvcreate /dev/xvdl
WARNING: lvmlockd process is not running.
Global lock failed: check that lvmlockd is running.
# vgcreate --shared shared_vg_bckp /dev/xvdl
WARNING: lvmlockd process is not running.
Failed to detect a running lock manager to select lock type.
Run `vgcreate --help' for more information.
Environment
- Red Hat Enterprise Linux 8 (with the Resilient Storage Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.