If network is not starting when o2cb is starting, it can be (with 90% probability) wrong port configuration on the switch - if port is not configured as a host port, then it runs thru all 'slow STP start' procedure and comes up 40 seconds after interface was enabled.
For cisco, verify that you have something like interface GigabitEthernet0/2 spanning-tree portfast ----- Original Message ----- From: "Sunil Mushran" <[EMAIL PROTECTED]> To: "Cline, Ernest" <[EMAIL PROTECTED]> Cc: "Yuval Baruch" <[EMAIL PROTECTED]>; "Alexei_Roudnev" <[EMAIL PROTECTED]>; <[email protected]>; <[EMAIL PROTECTED]> Sent: Thursday, December 07, 2006 1:29 PM Subject: Re: [Ocfs2-users] DMesg error on startup ... > 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:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *Yuval Baruch > *Sent:* Thursday, December 07, 2006 4:06 PM > *To:* Alexei_Roudnev > *Cc:* Sunil Mushran; [email protected]; [EMAIL PROTECTED] > *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* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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:[EMAIL PROTECTED]> > *To:* Sunil Mushran <mailto:[EMAIL PROTECTED]> > *Cc:* [email protected] > <mailto:[email protected]> ; [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > *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* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> 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 > > [email protected] > <mailto:[email protected]> > > http://oss.oracle.com/mailman/listinfo/ocfs2-users > <http://oss.oracle.com/mailman/listinfo/ocfs2-users> > > > > _______________________________________________ > Ocfs2-users mailing list > [email protected] > <mailto:[email protected]> > http://oss.oracle.com/mailman/listinfo/ocfs2-users > > > > ------------------------------------------------------------------ ------ > _______________________________________________ > Ocfs2-users mailing list > [email protected] <mailto:[email protected]> > http://oss.oracle.com/mailman/listinfo/ocfs2-users > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ocfs2-users mailing list > [email protected] > http://oss.oracle.com/mailman/listinfo/ocfs2-users > _______________________________________________ Ocfs2-users mailing list [email protected] http://oss.oracle.com/mailman/listinfo/ocfs2-users
