<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=796021121-07122006>Call S25ocfs2 from S24o2cb.</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ocfs2-users-bounces@oss.oracle.com
[mailto:ocfs2-users-bounces@oss.oracle.com] <B>On Behalf Of </B>Yuval
Baruch<BR><B>Sent:</B> Thursday, December 07, 2006 4:06 PM<BR><B>To:</B>
Alexei_Roudnev<BR><B>Cc:</B> Sunil Mushran; ocfs2-users@oss.oracle.com;
nir.grava@yahoo.co.uk<BR><B>Subject:</B> Re: [Ocfs2-users] DMesg error on
startup ...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>thanks for you offer, but this like the addition of "mount -a" in the
rc.local are ways to bypass the problem.</DIV>
<DIV>Is there a way to prevent a init service with lower preference to start
before the init service with higher prefernce ended? like s25ocfs2 will start
only after s24o2cb will end ...<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 12/7/06, <B
class=gmail_sendername>Alexei_Roudnev</B> <<A
href="mailto:Alexei_Roudnev@exigengroup.com">Alexei_Roudnev@exigengroup.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Add 'sleep 20' into the beginning of ocfs2 start
sequence?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Btw, check that your network ports are in fast-spanning-tree
mode (don't wait 30 seconds when connected). On the Ethernet switch.
</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=e id=q_10f5dfd84763bbbd_1>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A
title=yuval.baruch@gmail.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:yuval.baruch@gmail.com" target=_blank>Yuval Baruch</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=Sunil.Mushran@oracle.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Sunil.Mushran@oracle.com" target=_blank>Sunil Mushran</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=ocfs2-users@oss.oracle.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:ocfs2-users@oss.oracle.com"
target=_blank>ocfs2-users@oss.oracle.com</A> ; <A
title=nir.grava@yahoo.co.uk
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:nir.grava@yahoo.co.uk" target=_blank>nir.grava@yahoo.co.uk</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 07, 2006 7:43
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Ocfs2-users] DMesg error
on startup ...</DIV>
<DIV><BR> </DIV>
<DIV>I wasn't exact about the previous mail.</DIV>
<DIV>The real problem is that o2cb does not complete his startup before the
ocfs2 start his.</DIV>
<DIV>the order is as you mentioned s24o2cb -> s25ocfs2.</DIV>
<DIV>The problem is as I wrote before: some of te FS are mounted and other
doesn't, it depends on how fast the o2cb starts.</DIV>
<DIV>So is there any way fixing this problem ( other than adding " mount -a"
to the rc.local ) ? <BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 12/7/06, <B class=gmail_sendername>Yuval
Baruch</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:yuval.baruch@gmail.com" target=_blank>yuval.baruch@gmail.com
</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>Hi,</DIV>
<DIV>I am encountring with the same problem, I double checked and the
startup order is as u mentioned, i.e. S10network -> S24o2cb, but still
some ocfs2 FS tries (and failes) to mount before the network comes
up.</DIV>
<DIV>Other FS which tries to mount after the network comes up succeed, the
FS which succeed to mount change from boot to boot ( depends on how long
it takes to the network to comes up ).</DIV>
<DIV>Is there any way to resolve this problem other then adding "mount -a"
to the rc.local ?</DIV>
<DIV> </DIV>
<DIV>10x<BR><BR> </DIV>
<DIV><SPAN>
<DIV><SPAN class=gmail_quote>On 11/7/06, <B class=gmail_sendername>Sunil
Mushran</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Sunil.Mushran@oracle.com"
target=_blank>Sunil.Mushran@oracle.com </A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">The
startup order should be... ==> network, o2cb, ocfs2.<BR><BR>Sébastien
CRAMATTE wrote:<BR>> Hi<BR>><BR>> When my system boot I've got
this error in dmesg :<BR>><BR>> mount.ocfs2: Unable to access
cluster service Cannot initialize cluster<BR>><BR>>
----------<BR>> Mounting local filesystems...<BR>> kjournald
starting. Commit interval 5 seconds <BR>> EXT3 FS on hda2,
internal journal<BR>> EXT3-fs: mounted filesystem with ordered data
mode.<BR>> kjournald starting. Commit interval 5
seconds<BR>> EXT3 FS on hda3, internal journal<BR>> EXT3-fs:
mounted filesystem with ordered data mode. <BR>> mount.ocfs2: Unable
to access cluster service Cannot initialize cluster<BR>> /dev/hda2 on
/home type ext3 (rw,errors=remount-ro)<BR>> /dev/hda3 on /var type
ext3 (rw,errors=remount-ro)<BR>> Cleaning /tmp /var/run /var/lock.
<BR>> Setting up networking...done.<BR>> Setting up IP spoofing
protection: rp_filter.<BR>> Configuring network interfaces...Set tx
off on eth0 [OK]<BR>> Set tx off on eth1 [OK]<BR>> done.<BR>>
--------<BR>><BR>> I've got this line in my
/etc/fstab<BR>><BR>>
/dev/drbd0 /cluster ocfs2
_netdev,datavolume,nointr<BR>> 0 0<BR>><BR>> So
it's logical that try to mount it ... I've tried to
put "noauto" <BR>> parameter and efectively I haven't got
anymore the error but the FS is<BR>> not mounted
automatically by ocfs2 rc.d script ...<BR>> How
can I avoid this error on bootup ?<BR>><BR>>
Regards<BR>> <BR>><BR>><BR>>
_______________________________________________<BR>> Ocfs2-users
mailing list<BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Ocfs2-users@oss.oracle.com"
target=_blank>Ocfs2-users@oss.oracle.com</A><BR>> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://oss.oracle.com/mailman/listinfo/ocfs2-users"
target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users
</A><BR>><BR><BR>_______________________________________________<BR>Ocfs2-users
mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Ocfs2-users@oss.oracle.com"
target=_blank>Ocfs2-users@oss.oracle.com </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://oss.oracle.com/mailman/listinfo/ocfs2-users"
target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR></SPAN></DIV>
<P>
<HR>
<SPAN class=q>
<P></P>_______________________________________________<BR>Ocfs2-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Ocfs2-users@oss.oracle.com"
target=_blank>Ocfs2-users@oss.oracle.com </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://oss.oracle.com/mailman/listinfo/ocfs2-users"
target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR></SPAN>
<P></P>
<P></P></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>