The ocfs2 kernel package installed does not correspond to the running kernel. Well, you say you have centos 5.2 running but the kernel version# mentioned is 5.0.
Read the "Getting Started" section in the ocfs2 docs to determine the appropriate ocfs2 kernel package. ritesh sinha wrote: > Hi, > I was interested in a simple configuration with 2 machines sharing a > drbd drive in primary-primary mode. > I am done with drbdb, but I am a newbie to ocfs, so wanted some help. > I have 2 machines, with centos5.2 , kernel 2.6.18-8.el5. I downloaded > the following packages : > > ocfs2-2.6.18-92.el5-1.4.1-1.el5.x86_64.rpm > ocfs2-tools-1.4.1-1.el5.x86_64.rpm > ocfs2console-1.4.1-1.el5.x86_64.rpm > (download from oss.oracle) > > Installed them (good enough). Placed the following > /etc/ocfs2/cluster.conf : > cluster: > node_count = 2 > name = ocfscluster > node: > ip_port = 7777 > ip_address = 192.168.2.36 <http://192.168.2.36> > number = 1 > name = newglfs01 > cluster = ocfscluster > node: > ip_port = 7777 > ip_address = 192.168.2.37 <http://192.168.2.37> > number = 2 > name = newglfs02 > cluster = ocfscluster > > Tried to run : service o2cb configure ... and got the following error > at the end : > Loading filesystem "ocfs2_dlmfs": Unable to load filesystem "ocfs2_dlmfs" > Failed > > so i looked up for ocfs2_dlmfs.ko on my system, found it here : > /lib/modules/2.6.18-92.el5/kernel/fs/ocfs2/dlm/ocfs2_dlmfs.ko > > tried : insmod > /lib/modules/2.6.18-92.el5/kernel/fs/ocfs2/dlm/ocfs2_dlmfs.ko > ......... but got following error. > insmod: error inserting > '/lib/modules/2.6.18-92.el5/kernel/fs/ocfs2/dlm/ocfs2_dlmfs.ko': -1 > Unknown symbol in module > > Could some one point as to what I might be doing wrong !... > > Regards > Ritesh > > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users