Red Hat Bugzilla – Bug 147819
Warning about incorrect LVM locking library
Last modified: 2010-01-11 23:03:10 EST
Description of problem:
This started appearing in the syslog after a clvmd start not long ago:
Feb 11 11:04:58 link-10 clvmd: Cluster LVM daemon started - connected
Feb 11 11:04:58 link-10 lvm: Incorrect LVM locking library
specified in lvm.conf, cluster operations may not work.
My lvm.conf has the lines:
locking_type = 2
locking_library = "/usr/lib/liblvm2clusterlock.so"
And everything appears to work fine. Why the warning?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start clvmd, look in log file.
clvmd assumed that the library was in the normal library search path
or pointed to by the config option "library_dir".
Made it a bit more tolerant:
Checking in daemons/clvmd/lvm-functions.c;
/cvs/lvm2/LVM2/daemons/clvmd/lvm-functions.c,v <-- lvm-functions.c
new revision: 1.9; previous revision: 1.8
Verified in lvm2-cluster-2.01.06-1.1.RHEL4
Now simply says:
clvmd: Cluster LVM daemon started - connected to CMAN