<span class="gmail_quote"><b class="gmail_sendername">Sunil Mushran,<br> Are you sure ? <br><br><span style="font-weight: bold;"><span style="font-weight: bold;">Before and **after** <br><span style="font-weight: bold;">"
</span>service hearbeat start"<br><span style="font-weight: bold;">I have the **same** results; heartbeat user space is not mentioned; This is on fedora core 6.</span><br><br>here is what I get:<br></span></span></b>
</span><span class="gmail_quote"><b class="gmail_sendername"></b></span>cat /etc/sysconfig/o2cb<br>#<br># This is a configuration file for automatic startup of the O2CB<br># driver. It is generated by running /etc/init.d/o2cb configure.
<br># Please use that method to modify this file<br>#<br><br># O2CB_ENABELED: 'true' means to load the driver on boot.<br>O2CB_ENABLED=false<br><br># O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
<br>O2CB_BOOTCLUSTER=<br><br># O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.<br>O2CB_HEARTBEAT_THRESHOLD=<br><br>Regards,<br>Andy<br><br><span class="gmail_quote"></span><br><div><span class="gmail_quote">
On 3/28/07, <b class="gmail_sendername">Sunil Mushran</b> <<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
He meant... cat /etc/sysconfig/o2cb<br>If you are using novell's userspace hb, then it will be listed there.<br><br>Andy Johnson wrote:<br>> Hello,<br>> NO such thing as /sys/o2cb/heartbeat_mode !<br>> I tried :
<br>><br>> /etc/init.d/o2cb load<br>> Loading module "configfs": OK<br>> Mounting configfs filesystem at /sys/kernel/config: OK<br>> Loading module "ocfs2_nodemanager": OK<br>> Loading module "ocfs2_dlm": OK
<br>> Loading module "ocfs2_dlmfs": OK<br>> Mounting ocfs2_dlmfs filesystem at /dlm: OK<br>><br>> :/root# ls /sys/o2cb<br>> interface_revision logmask<br>> and<br>><br>> ls /sys/o2cb/logmask
<br>> ls /sys/o2cb/logmask -al<br>> total 0<br>> drwxr-xr-x 2 root root 0 Mar 28 19:28 .<br>> drwxr-xr-x 3 root root 0 Mar 28 19:26 ..<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 AIO<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 BH_IO
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 CONN<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DCACHE<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DISK_ALLOC<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_DOMAIN<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLMFS<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_GLUE<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_MASTER
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_RECOVERY<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_THREAD<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 ENTRY<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 ERROR
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXIT<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXPORT<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXTENT_MAP<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 FILE_IO
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 HB_BIO<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 HEARTBEAT<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 INODE<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 JOURNAL
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 KTHREAD<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 MSG<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 NAMEI<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 NOTICE
<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 QUORUM<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 SOCKET<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 SUPER<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 TCP<br>
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 UPTODATE<br>> -rw-r--r-- 1 root root 4096 Mar 28 19:28 VOTE<br>><br>> and<br>><br>> cat /sys/o2cb/logmask/HEARTBEAT<br>> off<br>> Regards,<br>> Andy<br>
><br>><br>><br>> On 3/28/07, *Srinivas Eeda* < <a href="mailto:srinivas.eeda@oracle.com">srinivas.eeda@oracle.com</a><br>> <mailto:<a href="mailto:srinivas.eeda@oracle.com">srinivas.eeda@oracle.com</a>
>> wrote:<br>><br>> That might because you have configured user mode dlm. What does "|cat<br>> /sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb<br>> configure and answer "n" for the following
<br>> ||Use user-space driven heartbeat? (y/n) [y] n<br>><br>> thanks,<br>> --Srini<br>> ||<br>><br>> |Andy Johnson wrote:<br>> > Hello,<br>> > I have ocfs2-tools-1.2.3
. ( built from sources)<br>> > I try:<br>> > mount /dev/vg1/cluster /mnt/ocfs2/<br>> > and get:<br>> > ocfs2_hb_ctl: Unable to access cluster service while starting<br>> heartbeat
<br>> > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:<br>> > "Operation not permitted"<br>> ><br>> > What can be the cause of this error ? Any ideas?<br>> >
<br>> > (I tried it after service heartbeat stop)<br>> ><br>> > Regards,<br>> > Andy<br>> ><br>> ------------------------------------------------------------------------
<br>> ><br>> > _______________________________________________<br>> > Ocfs2-devel mailing list<br>> > <a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a> <mailto:
<a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a>><br>> > <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>><br>
><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Ocfs2-devel mailing list<br>> <a href="mailto:Ocfs2-devel@oss.oracle.com">
Ocfs2-devel@oss.oracle.com</a><br>> <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br></blockquote></div><br>