cmirrord reports error "cpg_dispatch failed: SA_AIS_ERR_LIBRARY" or "cpg_dispatch failed: 2" in a RHEL 6 Resilient Storage cluster with clustered mirrror LVM volumes

Solution Verified - Updated -

Issue

  • Cluster nodes are generating SA_AIS_ERR_LIBRARY errors from cmirrord
Feb  2 16:42:49 node1 cmirrord[3682]: cpg_dispatch failed: SA_AIS_ERR_LIBRARY
  • When a storage device in a clustered volume group fails, only some of the mirrored volumes on it successfully repair and recover, and there is an error "cpg_dispatch failed: 2" from cmirrord
Aug 12 20:30:21 node1 lvm[32081]: No longer monitoring mirror device clustVG/lv1 for events
Aug 12 20:30:21 node1 lvm[32081]: No longer monitoring mirror device clustVG/lv2 for events.
Aug 12 20:30:21 node1 cmirrord[2966]: cpg_dispatch failed: 2

Environment

  • Red Hat Enterprise Linux (RHEL) 6 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
  • cmirror
    • One or more logical volumes in a clustered volume group are mirrored

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.