When attempting to remove the LV in GFS2 filesystem, it gives error `Cannot access VG due to failed lock.`
Issue
When attempting to remove the LV in GFS2 filesystem, it gives error Cannot access VG due to failed lock.
# lvremove --lockopt skiplv /dev/shared_vg/shared_lv
WARNING: skipping LV lock in lvmlockd.
WARNING: lvmlockd process is not running.
Cannot access VG shared_vg due to failed lock.
Environment
- Red Hat Enterprise Linux 8
- High Availability Pacemaker Cluster with Resilient Storage Add-on
- GFS2 cluster setup
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.