<!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>&nbsp;</DIV>
<DIV><SPAN class=gmail_quote>On 12/7/06, <B 
class=gmail_sendername>Alexei_Roudnev</B> &lt;<A 
href="mailto:Alexei_Roudnev@exigengroup.com">Alexei_Roudnev@exigengroup.com</A>&gt; 
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'&nbsp;into the beginning of ocfs2 start 
  sequence?</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</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 -&gt; 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 ) ?&nbsp;<BR><BR>&nbsp;</DIV>
    <DIV><SPAN class=gmail_quote>On 12/7/06, <B class=gmail_sendername>Yuval 
    Baruch</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:yuval.baruch@gmail.com" target=_blank>yuval.baruch@gmail.com 
    </A>&gt; 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 -&gt; S24o2cb, but still 
      some ocfs2 FS tries (and failes)&nbsp;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>&nbsp;</DIV>
      <DIV>10x<BR><BR>&nbsp;</DIV>
      <DIV><SPAN>
      <DIV><SPAN class=gmail_quote>On 11/7/06, <B class=gmail_sendername>Sunil 
      Mushran</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:Sunil.Mushran@oracle.com" 
      target=_blank>Sunil.Mushran@oracle.com </A>&gt; 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... ==&gt; network, o2cb, ocfs2.<BR><BR>Sébastien 
        CRAMATTE wrote:<BR>&gt; Hi<BR>&gt;<BR>&gt; When my system boot I've got 
        this error in dmesg :<BR>&gt;<BR>&gt; mount.ocfs2: Unable to access 
        cluster service Cannot initialize cluster<BR>&gt;<BR>&gt; 
        ----------<BR>&gt; Mounting local filesystems...<BR>&gt; kjournald 
        starting.&nbsp;&nbsp;Commit interval 5 seconds <BR>&gt; EXT3 FS on hda2, 
        internal journal<BR>&gt; EXT3-fs: mounted filesystem with ordered data 
        mode.<BR>&gt; kjournald starting.&nbsp;&nbsp;Commit interval 5 
        seconds<BR>&gt; EXT3 FS on hda3, internal journal<BR>&gt; EXT3-fs: 
        mounted filesystem with ordered data mode. <BR>&gt; mount.ocfs2: Unable 
        to access cluster service Cannot initialize cluster<BR>&gt; /dev/hda2 on 
        /home type ext3 (rw,errors=remount-ro)<BR>&gt; /dev/hda3 on /var type 
        ext3 (rw,errors=remount-ro)<BR>&gt; Cleaning /tmp /var/run /var/lock. 
        <BR>&gt; Setting up networking...done.<BR>&gt; Setting up IP spoofing 
        protection: rp_filter.<BR>&gt; Configuring network interfaces...Set tx 
        off on eth0 [OK]<BR>&gt; Set tx off on eth1 [OK]<BR>&gt; done.<BR>&gt; 
        --------<BR>&gt;<BR>&gt; I've got this line in my 
        /etc/fstab<BR>&gt;<BR>&gt; 
        /dev/drbd0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/cluster&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ocfs2&nbsp;&nbsp; 
        _netdev,datavolume,nointr<BR>&gt; 0&nbsp;&nbsp; 0<BR>&gt;<BR>&gt; So 
        it's logical that try to mount it ...&nbsp;&nbsp;I've tried to 
        put&nbsp;&nbsp;"noauto" <BR>&gt; parameter and efectively I haven't got 
        anymore the error&nbsp;&nbsp;but the FS is<BR>&gt; not mounted 
        automatically by&nbsp;&nbsp;ocfs2&nbsp;&nbsp;rc.d script ...<BR>&gt; How 
        can I avoid this error&nbsp;&nbsp;on bootup ?<BR>&gt;<BR>&gt; 
        Regards<BR>&gt; <BR>&gt;<BR>&gt;<BR>&gt; 
        _______________________________________________<BR>&gt; Ocfs2-users 
        mailing list<BR>&gt; <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>&gt; <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>&gt;<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>