[Ocfs2-users] help needed with ocfs2 on centos5.2

ritesh sinha sinha.riteshk at gmail.com
Wed Sep 24 06:24:23 PDT 2008


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
      number = 1
      name = newglfs01
      cluster = ocfscluster
node:
      ip_port = 7777
      ip_address = 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080924/410b5c70/attachment.html 


More information about the Ocfs2-users mailing list