hi, All,

FYI.

thanks,
tiger

Subject:
ocfs2 panic when o2cb offline
From:
"haobo.zhou" <[EMAIL PROTECTED]>
Date:
Sat, 30 Dec 2006 16:25:36 +0800

To:
[EMAIL PROTECTED]


All,

/etc/init.d/o2cb offline will cause a panic, if there is mounted ocfs2 filesystem.
Sipingal found it and I reproduced in my vmware environment.  My env is

[EMAIL PROTECTED] ~]# uname -a
Linux node2.cn.oracle.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]# rpm -qa | grep ocfs2
ocfs2-tools-1.2.2-1
ocfs2console-1.2.2-1
ocfs2-2.6.9-42.ELsmp-1.2.3-1
[EMAIL PROTECTED] ~]#



The workaround is as follows:

--- /etc/init.d/o2cb.old        2006-12-30 23:25:27.000000000 -0500
+++ /etc/init.d/o2cb    2006-12-30 23:17:05.000000000 -0500
@@ -714,6 +714,7 @@
   then
       echo "Failed"
       echo "Unable to stop cluster as heartbeat region still active" >&2
+       exit 1
   fi

   if [ $FORCE -eq 1 ]

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to