Blocked or stalled lvm commands in a cluster running clvmd but new lvm commands complete successfully in RHEL 5

Solution Unverified - Updated -

Issue

  • Old lvs or other lvm commands are seen in ps and have been stuck for days, but new lvm commands complete without issue
  • We have been experiencing hangs on shutdown on RHEL 5.9 servers running Red Hat Cluster, and have narrowed the problem down to a hung lvs command spawned by the LVM monitor.
# ps aux|grep lvs
root      7801  0.0  0.0  20688  2016 ?        S<   Sep26   0:00 lvs -o attr --noheadings
root     10268  0.0  0.0  20696  2044 ?        S<   Sep25   0:00 lvs -o attr --noheadings
root     22167  0.0  0.0  20520  1868 ?        S<   Sep25   0:00 lvs -o attr --noheadings

Environment

  • Red Hat Enterprise Linux (RHEL) 5 with the Resilient Storage Add On
  • lvm2-cluster
    • locking_type = 3 in /etc/lvm/lvm.conf
    • One or more volume groups with the clustered attribute set

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