[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-users
Subject:    =?UTF-8?Q?=E7=AD=94=E5=A4=8D=EF=BC=9A=20RE:=20[Ocfs2-users]=20DM?=
From:       "Zhen Wei" <zwei () novell ! com>
Date:       2006-12-08 2:23:26
Message-ID: 4579678B0200000400262D41 () lucius ! provo ! novell ! com
[Download RAW message or body]

try to use _netdev option in /etc/fstab

zhen wei
zwei@novell.com
+86 10 65339225

> > > "Cline, Ernest" <Ernest.Cline@petersons.com> 06年12月08日 上午 5:11 >>>
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> 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 ; 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 > 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 > 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
				> 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
				



		
  _____  

		

		_______________________________________________
		Ocfs2-users mailing list
		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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic