> 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]
It's not only o2cb but also the network. As in, your network is not
starting before o2cb/ocfs2.
Cline, Ernest wrote:> Call S25ocfs2 from S24o2cb.
>
> ------------------------------------------------------------------------
> *From:* ocfs2-users-bounces@oss.oracle.com
> [mailto:ocfs2-users-bounces@oss.oracle.com] *On Behalf Of *Yuval Baruch
> *Sent:* Thursday, December 07, 2006 4:06 PM
> *To:* Alexei_Roudnev
> *Cc:* Sunil Mushran; ocfs2-users@oss.oracle.com; nir.grava@yahoo.co.uk
> *Subject:* Re: [Ocfs2-users] DMesg error on startup ...
>
> thanks for you offer, but this like the addition of "mount -a" in
the
> rc.local are ways to bypass the problem.
> 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 ...
>
>
> On 12/7/06, *Alexei_Roudnev* <Alexei_Roudnev@exigengroup.com
> <mailto:Alexei_Roudnev@exigengroup.com>> wrote:
>
> 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 <mailto:yuval.baruch@gmail.com>
> *To:* Sunil Mushran <mailto:Sunil.Mushran@oracle.com>
> *Cc:* ocfs2-users@oss.oracle.com
> <mailto:ocfs2-users@oss.oracle.com> ; nir.grava@yahoo.co.uk
> <mailto:nir.grava@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@gmail.com
> <mailto:yuval.baruch@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@oracle.com
> <mailto:Sunil.Mushran@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@oss.oracle.com
> <mailto:Ocfs2-users@oss.oracle.com>
> > http://oss.oracle.com/mailman/listinfo/ocfs2-users
> <http://oss.oracle.com/mailman/listinfo/ocfs2-users>
> >
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> <mailto:Ocfs2-users@oss.oracle.com>
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>
>
>
------------------------------------------------------------------------
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
<mailto:Ocfs2-users@oss.oracle.com>
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>