[Ocfs2-users] Re: Problems with OCFS2 and Oracle 10g

Eckenfels. Bernd B.Eckenfels at seeburger.de
Thu Aug 3 23:49:58 PDT 2006


Hello,

No, using a partition should IMHO work, but is it a shared Disk? hda
sounds like IDE.

Greetings
Bernd
________________________________

From: ocfs2-users-bounces at oss.oracle.com
[mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of sorapak Last
Sent: Friday, August 04, 2006 8:44 AM
To: ocfs2-users at oss.oracle.com
Subject: [Ocfs2-users] Re: Problems with OCFS2 and Oracle 10g


Thanks Eckenfels and everyone.

I try to install Oracel 10g on Linux x86 using document named "Install
Oracle 10g Release 2 on LInux x86". I found problems in "Part III:
Prepare the shared Disks". 

Instead of using a whole disk, I use a free partition. Would it cause
this problems?


here are the new results after  I have configured serveral times: 
On ds1 node:
[root at ds1 /]# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking cluster ocfs2: Online
Checking heartbeat: Active
[root at ds1 /]#
[root at ds1 /]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/hda5             ocfs2  ds1
[root at ds1 /]#

On ds2 node:
[root at ds2 u03]# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking cluster ocfs2: Online
Checking heartbeat: Active
[root at ds2 u03]#
[root at ds2 /]# mounted.ocfs2 -f
Device                FS     Nodes
/dev/hda5             ocfs2  ds2
[root at ds2 ]# mount | grep /u03
/dev/hda5 on /u03 type ocfs2 (rw,_netdev)

I have followed installation's step from document. On ds1-node is
looking fine except result from "mounted.ocfs2 -f" command. But on
ds2-node looks straight.  ds2-node can possibly mount on shared
partition on ds1-node because ds2-node does not have /dev/hda5 on its
own. 

I tested by create a file Node1 on /u03 of ds1.node. But ds2-node cannot
see that file.

On ds1:
[root at ds1 /]# ls -la /u03
total 24
drwxr-xr-x   5 root   root     4096 Aug  3 10:44 .
drwxr-xr-x  27 root   root     4096 Aug  3 09:50 ..
drwxr-xr-x   2 oracle oinstall 4096 Aug  1 20:47 lost+found
-rwxr-xr-x   1 oracle oinstall    0 Aug  3 10:44 Node1
drwxr-xr-x   2 oracle oinstall 4096 Aug  1 20:50 oracrs
drwxr-xr-x   2 oracle oinstall 4096 Aug  1 20:50 oradata
[root at ds1 /]#

On ds2:
[root at ds2 u03]# ls -l /u03
total 12
drwxr-xr-x  2 root   root     4096 Aug  4 10:50 lost+found
drwxr-xr-x  2 oracle oinstall 4096 Aug  4 10:51 oracrs
drwxr-xr-x  2 oracle oinstall 4096 Aug  4 10:52 oradata
[root at ds2 u03]#

appreciate for your comments.
sorapak pukdesree 



More information about the Ocfs2-users mailing list