Hi
you can check it like below.
[root at langchao1 home]# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking cluster ocfs2: Online
Checking heartbeat: Active
I also faced this problem before . but after kept the file
/etc/ocfs2/cluster.conf same on the all nodes, then /etc/init.d/o2cb
restart , it is ok.
thanks
Leonid Shulov wrote:> Hi, NG!
>
> I formated devices /dev/sda7 and /dev/sda8 with mkfs.ocfs2.
> When I mounting /dev/sda7 I see this message:
>
> [root at ashwpc06 ocfs2]# mount -t ocfs2 /dev/sda7 /srv1
> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
"Operation
> not permitted"
>
> -rwxr-xr-x 1 root root 545680 Apr 22 00:55 /sbin/ocfs2_hb_ctl
>
> In /var/log/messages found only:
> Jun 29 09:23:09 ashwpc06 kernel: OCFS2 Node Manager 1.2.1 Fri Jun 2
> 14:40:31 PDT 2006 (build d647396d7a65bfeeaad84fa736d4d
> d1c)
> Jun 29 09:23:09 ashwpc06 kernel: OCFS2 DLM 1.2.1 Fri Jun 2 14:40:32 PDT
> 2006 (build 70adfba8f7c9ce44dac2d47ec99bb7d2)
> Jun 29 09:23:09 ashwpc06 kernel: OCFS2 DLMFS 1.2.1 Fri Jun 2 14:40:32
> PDT 2006 (build 70adfba8f7c9ce44dac2d47ec99bb7d2)
> Jun 29 09:23:09 ashwpc06 kernel: OCFS2 User DLM kernel interface loaded
>
>
> What to do?
>
>
>
--
* ** tianyue lan
* Associate Member of Techincal Staff *
Oracle China Development Center
Emerging Technology & Solution Development
*
Tel: +86 10 82786285
Mobile: +86 136 9153 6392
IM: [ Send Message
<https://strtc.oracle.com/imtapp/Presence?K1=https://strtc.oracle.com/imtapp/Presence?K1=THISISADUMMYKEY62E807AD1CB460EAA3B2EB3EA154177FE1F7E863&MODE=STHTML>]
URL: CDC Intranet <http://cdc.oraclecorp.com/>, Oracle.com/cdc
<http://www.oracle.com/cdc/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20060629/6057fdb0/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JIAGUWEN-NOFRAME.GIF
Type: image/gif
Size: 764 bytes
Desc: not available
Url :
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20060629/6057fdb0/JIAGUWEN-NOFRAME.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Presence
Type: image/gif
Size: 305 bytes
Desc: not available
Url :
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20060629/6057fdb0/Presence.gif