When attempting to remove the LV in GFS2 filesystem, it gives error `Cannot access VG due to failed lock.`

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content