[Ocfs2-announce] ocfs2 and configfs.ko

Mandar P Vengurlekar mandar.p.vengurlekar at gmail.com
Tue May 31 20:09:58 CDT 2005


Hi
I am new to linux and clustering, but I am trying to setup ocfs2 and rac10g on fedora 3 (Linux linux2 2.6.9-5.0.3.EL.orafw1smp #1 SMP Mon Mar 7 22:29:31 PST 2005 i686 i686 i386 GNU/Linux)
have a dell 4700 and dell 3000 both with 1 GB RAM and a 250G maxtor share drive...( build your own 10grac ..from technet.oracle.com)
=======================
# rpm -qa|grep -i ocfs2
ocfs2-2.6.9-5.0.5.EL-0.99.9-1
ocfs2-tools-0.99.8-1
ocfs2console-0.99.8-1
# rpm -qa|grep -i kernel
kernel-smp-devel-2.6.9-5.0.3.EL.orafw1
kernel-2.6.11-1.27_FC3
kernel-devel-2.6.9-5.0.3.EL.orafw1
kernel-utils-2.4-13.1.49_FC3
kernel-2.6.9-1.667
kernel-doc-2.6.11-1.27_FC3
kernel-smp-2.6.9-5.0.3.EL.orafw1

I installed the ocfs2 tools,console. However two things:
=======================
1.when i ran ocfs2console as per the doc, it did not allow me to configure any cluster definition.
no /etc/ocfs2/cluster.conf file existed. no /etc/ocfs2 existed.

  so i created the /etdc/ocfs2/cluster.conf file manually
# cat /etc/ocfs2/cluster.conf
cluster:
node_count = 2
name = CLUSTER1

node:
ip_port = 7777
ip_address = 192.168.2.10
number = 0
name = int-linux1
cluster = CLUSTER1

node:
ip_port = 7777
ip_address = 192.168.2.20
number = 1
name = int-linux2
cluster = CLUSTER1

2. the load for o2cb failed.
===========================
# /etc/init.d/o2cb configure
Configuring the O2CB driver.

This will configure the on-boot properties of the O2CB driver.
The following questions will determine whether the driver is loaded on
boot.  The current values will be shown in brackets ('[]').  Hitting
<ENTER> without typing an answer will keep that current value.  Ctrl-C
will abort.

Load O2CB driver on boot (y/n) [y]: y
Cluster to start on boot (Enter "none" to clear) [MANDARCLUSTER]:
Writing O2CB configuration: OK
Loading module "configfs": Unable to load module "configfs"
Failed
# /etc/init.d/o2cb load
Loading module "configfs": Unable to load module "configfs"
Failed
#
========================
messages in the /var/log/messages:
May 31 20:01:01 linux2 crond(pam_unix)[4637]: session closed for user root
May 31 20:02:03 linux2 modprobe: FATAL: Module configfs not found.
May 31 20:04:00 linux2 last message repeated 2 times
May 31 20:04:39 linux2 modprobe: FATAL: Module configfs not found.
May 31 20:05:01 linux2 crond(pam_unix)[5016]: session opened for user root by (uid=0)
May 31 20:05:02 linux2 crond(pam_unix)[5016]: session closed for user root
May 31 20:07:10 linux2 init: Trying to re-exec init
May 31 20:10:01 linux2 crond(pam_unix)[9805]: session opened for user root by (uid=0)
May 31 20:10:01 linux2 crond(pam_unix)[9804]: session opened for user root by (uid=0)
May 31 20:10:01 linux2 crond(pam_unix)[9804]: session closed for user root
May 31 20:10:02 linux2 crond(pam_unix)[9805]: session closed for user root
May 31 20:10:10 linux2 modprobe: FATAL: Module configfs not found.
May 31 20:10:21 linux2 modprobe: FATAL: Module configfs not found.
===================
location of configfs.ko
# cd /
# find . -name configfs* -print
./lib/modules/2.6.9-5.0.5.EL/kernel/fs/configfs
./lib/modules/2.6.9-5.0.5.EL/kernel/fs/configfs/configfs.ko
find: ./proc/9051/task: No such file or directory
==================>---so i copied the configfs and ocfs2 directory to /lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs
#cd /
# ls -alR configfs
configfs:
total 412
drwxr-xr-x   2 root root   4096 May 27 15:06 .
drwxr-xr-x  23 root root   4096 May 31 20:44 ..
-rw-r--r--   1 root root 406287 May 19 21:32 configfs.ko
# pwd
/lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs
# ls -alR ocfs2
ocfs2:
total 5692
drwxr-xr-x   2 root root    4096 May 27 15:06 .
drwxr-xr-x  23 root root    4096 May 31 20:44 ..
-rw-r--r--   1 root root  318365 May 19 21:32 ocfs2_dlmfs.ko
-rw-r--r--   1 root root 1429939 May 19 21:32 ocfs2_dlm.ko
-rw-r--r--   1 root root 3424866 May 19 21:32 ocfs2.ko
-rw-r--r--   1 root root  620469 May 19 21:32 ocfs2_nodemanager.ko
====================
# vi modules.dep
# vi modules.alias
# vi modules.dep
# modprobe configfs
FATAL: Error inserting configfs (/lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs/configfs/configfs.ko): Invalid module format
======================
Is there a separate version of configfs.ko for 2.6.9-5.0.3.EL.orafw1smp?

Regards,
Mandar Vengurlekar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-announce/attachments/20050531/92285c74/attachment.html


More information about the Ocfs2-announce mailing list