Red Hat Bugzilla – Bug 434905
lvm2-cluster shipped in F8 is incompatible with dlm version of the kernel
Last modified: 2008-06-06 03:47:55 EDT
Description of problem:
The version of lvm2-cluster shipped with Fedora 8 is incompatible with the dlm
module shipped in the kernel.
The cluster is otherwise working normally. Only CLVM is not starting.
Version-Release number of selected component (if applicable):
# uname -a
Linux testsys 188.8.131.52-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64
x86_64 x86_64 GNU/Linux
# rpm -qa | grep lvm
It is reproducible all the times with Fedora 8 freshly installed or with the
Steps to Reproduce:
When trying to start clvmd:
# lsmod | grep dlm
lock_dlm 28745 1
gfs2 484853 1 lock_dlm
dlm 120673 5 lock_dlm
configfs 32477 2 dlm
# service clvmd start
Starting clvmd: clvmd could not connect to cluster manager
Consult syslog for more information
The following message appears in /var/log/messages:
Feb 26 12:15:52 prdc1dba01 clvmd: Unable to create lockspace for CLVM: Invalid
And in dmesg:
dlm: process clvmd (3773) version mismatch user (5.0.0) kernel (6.0.0)
clvmd fails to start even though the cluster is working normally and the dlm
kernel modules are loaded properly. It seems from the messages that clvmd is not
speaking the same version of the locking language as the kernel (5 vs 6)
clvmd should start.
The problem seems also to exist when installing the latest LVM packages from
Rawhide on top of Fedora 8...
After investigating further, the problem seems to come from libdlm, which is
part of the cman package.
The version of libdlm in cman seems to only support version DLM device 5.0.0
while the kernel has switched to 6.0.0 since 2.6.22.
So the bug should be reassigned to cman.
It looks like the cman package in Fedora hasn't been updated for some time and
the kernel has moved on to the new DLM interface.
The newer libdlm can handle older and newer kernels, but the older libdlm can't
handle newer kernels.
So we need a new cman package for Fedora. Building it off the RHEL5 branch
rgmanager-2.03.03-1.fc9,gfs2-utils-2.03.03-1.fc9,cman-2.03.03-1.fc9,openais-0.80.3-17.fc9 has been submitted as an update for Fedora 9
openais-0.80.3-17.fc9, rgmanager-2.03.03-1.fc9, cman-2.03.03-1.fc9, gfs2-utils-2.03.03-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update openais rgmanager cman gfs2-utils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-4848
openais-0.80.3-17.fc9, rgmanager-2.03.03-1.fc9, cman-2.03.03-1.fc9, gfs2-utils-2.03.03-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.