Blocked or stalled lvm commands in a cluster running clvmd but new lvm commands complete successfully in RHEL 5
Issue
- Old
lvsor otherlvmcommands are seen inpsand have been stuck for days, but newlvmcommands 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
lvscommand 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-clusterlocking_type = 3in/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.