[Ocfs2-users] DMesg error on startup ...

Alexei_Roudnev Alexei_Roudnev at exigengroup.com
Thu Dec 7 09:37:06 PST 2006


Add 'sleep 20' into the beginning of ocfs2 start sequence?

Btw, check that your network ports are in fast-spanning-tree mode (don't wait 30 seconds when connected). On the
Ethernet switch.



  ----- Original Message ----- 
  From: Yuval Baruch
  To: Sunil Mushran
  Cc: ocfs2-users at oss.oracle.com ; nir.grava at yahoo.co.uk
  Sent: Thursday, December 07, 2006 7:43 AM
  Subject: Re: [Ocfs2-users] DMesg error on startup ...


  I wasn't exact about the previous mail.
  The real problem is that o2cb does not complete his startup before the ocfs2 start his.
  the order is as you mentioned s24o2cb -> s25ocfs2.
  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.
  So is there any way fixing this problem ( other than adding " mount -a" to the rc.local ) ?


  On 12/7/06, Yuval Baruch <yuval.baruch at gmail.com> wrote:
    Hi,
    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.
    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 ).
    Is there any way to resolve this problem other then adding "mount -a" to the rc.local ?

    10x


    On 11/7/06, Sunil Mushran <Sunil.Mushran at oracle.com > wrote:
      The startup order should be... ==> network, o2cb, ocfs2.

      Sébastien CRAMATTE wrote:
      > Hi
      >
      > When my system boot I've got this error in dmesg :
      >
      > mount.ocfs2: Unable to access cluster service Cannot initialize cluster
      >
      > ----------
      > Mounting local filesystems...
      > kjournald starting.  Commit interval 5 seconds
      > EXT3 FS on hda2, internal journal
      > EXT3-fs: mounted filesystem with ordered data mode.
      > kjournald starting.  Commit interval 5 seconds
      > EXT3 FS on hda3, internal journal
      > EXT3-fs: mounted filesystem with ordered data mode.
      > mount.ocfs2: Unable to access cluster service Cannot initialize cluster
      > /dev/hda2 on /home type ext3 (rw,errors=remount-ro)
      > /dev/hda3 on /var type ext3 (rw,errors=remount-ro)
      > Cleaning /tmp /var/run /var/lock.
      > Setting up networking...done.
      > Setting up IP spoofing protection: rp_filter.
      > Configuring network interfaces...Set tx off on eth0 [OK]
      > Set tx off on eth1 [OK]
      > done.
      > --------
      >
      > I've got this line in my /etc/fstab
      >
      > /dev/drbd0      /cluster        ocfs2   _netdev,datavolume,nointr
      > 0   0
      >
      > So it's logical that try to mount it ...  I've tried to put  "noauto"
      > parameter and efectively I haven't got anymore the error  but the FS is
      > not mounted automatically by  ocfs2  rc.d script ...
      > How can I avoid this error  on bootup ?
      >
      > Regards
      >
      >
      >
      > _______________________________________________
      > Ocfs2-users mailing list
      > Ocfs2-users at oss.oracle.com
      > http://oss.oracle.com/mailman/listinfo/ocfs2-users
      >

      _______________________________________________
      Ocfs2-users mailing list
      Ocfs2-users at oss.oracle.com
      http://oss.oracle.com/mailman/listinfo/ocfs2-users







------------------------------------------------------------------------------


  _______________________________________________
  Ocfs2-users mailing list
  Ocfs2-users at oss.oracle.com
  http://oss.oracle.com/mailman/listinfo/ocfs2-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20061207/40a3ea78/attachment-0001.html


More information about the Ocfs2-users mailing list