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
Issue
- Cluster nodes are generating
SA_AIS_ERR_LIBRARYerrors fromcmirrord
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-clusterlocking_type = 3in/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, tools, and much more.