<span class="gmail_quote"><br><br></span>I tryed that, but this is what happens then:<br>
<br>
root@lenaeja:~# /etc/init.d/o2cb stop ocfs2<br>
Unmounting ocfs2_dlmfs filesystem: OK<br>
Unloading module &quot;ocfs2_dlmfs&quot;: OK<br>
Unmounting configfs filesystem: OK<br>
<br>
root@lenaeja:~# /etc/init.d/o2cb start ocfs2<span class="q"><br>
Mounting configfs filesystem at /config: OK<br></span>
Loading module &quot;ocfs2_dlmfs&quot;: OK<span class="q"><br>
Mounting ocfs2_dlmfs filesystem at /dlm: OK<br>
Starting cluster ocfs2: Failed<br></span>
o2cb_ctl: Unable to load cluster configuration file &quot;/etc/ocfs2/cluster.conf&quot;<br>
Stopping cluster ocfs2: Failed<br>
o2cb_ctl: Unable to load cluster configuration file &quot;/etc/ocfs2/cluster.conf&quot;<span class="q"><br>
<br>
root@lenaeja:~# /etc/init.d/o2cb status<br>
Module &quot;sctp&quot;: Loaded<br>
Module &quot;configfs&quot;: Loaded<br>
Filesystem &quot;configfs&quot;: Mounted<br>
Module &quot;ocfs2_nodemanager&quot;: Loaded<br>
Module &quot;ocfs2_dlm&quot;: Loaded<br>
Module &quot;ocfs2_dlmfs&quot;: Loaded<br>
Filesystem &quot;ocfs2_dlmfs&quot;: Mounted<br>
Checking cluster ocfs2: Offline<br>
<br></span>
I made sure the cluster.conf file had all the permissions<br>
<br>
what the file now looks like:<span class="q"><br>
<br>root@lenaeja:~# cat /etc/ocfs2/cluster.conf<br>
cluster:<br></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_count = 2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = ocfs2<br>
<br>
node:<br>
ip_port = 7777<br>
ip_address = <a href="http://10.0.0.218" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.0.0.218</a><br>
number = 7<br>
name = laxtop<br>
cluster = ocfs2<br>
<br>
node:<br>
ip_port = 7777<br>
ip_address = <a href="http://10.0.20.10" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.0.20.10</a><br>
number = 6<br>
name = lenaeja<br>
cluster = ocfs2<br>
<br>
lenaeja is the host where the ocfs2 FS is on<br>
laxtop is a client node<br>
<br>
tx<br><span class="sg">
<br>
Jan Lenaerts</span><div><span class="e" id="q_106e905caf332b39_10"><br>
<br><div><span class="gmail_quote">On 10/13/05, <b class="gmail_sendername">Sunil Mushran</b> &lt;<a href="mailto:Sunil.Mushran@oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Sunil.Mushran@oracle.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

root@lenaeja:~# cat /etc/ocfs2/cluster.conf<br>cluster:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;node_count = 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name = ocfs2<br><br><br>You have no nodes defined in cluster.conf. Refer to the<br>sample cluster.conf in the user's guide.<br>

<br>
Jan Lenaerts wrote:<br><br>&gt; hello,<br>&gt;<br>&gt; I'm running Ubuntu Breezy with the OCFS2 modules in the standard<br>&gt; kernel. I installed ocfs2console and ocfs2-tools<br>&gt; I've formatted a partition with ocfs2. But I can't add any node or
<br>&gt; mount the device(with the ocfs2console). because I get a &quot;Unable to<br>&gt; access cluster service&quot;<br>&gt; I can't find the cause nor the solution to this.<br>&gt;<br>&gt; root@lenaeja:~# /etc/init.d/o2cb status
<br>&gt; Module &quot;sctp&quot;: Loaded<br>&gt; Module &quot;configfs&quot;: Loaded<br>&gt; Filesystem &quot;configfs&quot;: Mounted<br>&gt; Module &quot;ocfs2_nodemanager&quot;: Loaded<br>&gt; Module &quot;ocfs2_dlm&quot;: Loaded
<br>&gt; Module &quot;ocfs2_dlmfs&quot;: Loaded<br>&gt; Filesystem &quot;ocfs2_dlmfs&quot;: Mounted<br>&gt; Checking cluster ocfs2: Offline<br>&gt; root@lenaeja:~# /etc/init.d/o2cb online ocfs2<br>&gt; Starting cluster ocfs2: Failed
<br>&gt; Cluster ocfs2 created<br>&gt; o2cb_ctl: Configuration error discovered while populating cluster<br>&gt; ocfs2.&nbsp;&nbsp;None of its nodes were considered local.&nbsp;&nbsp;A node is considered<br>&gt; local when its node name in the configuration maches this machine's
<br>&gt; host name.<br>&gt; Stopping cluster ocfs2: OK<br>&gt;<br>&gt; root@lenaeja:~# lsmod | grep ocfs<br>&gt; ocfs2_dlmfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;19592&nbsp;&nbsp;0<br>&gt; ocfs2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 306848&nbsp;&nbsp;0<br>&gt; ocfs2_dlm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 134540&nbsp;&nbsp;2 ocfs2_dlmfs,ocfs2
<br>&gt; ocfs2_nodemanager&nbsp;&nbsp;&nbsp;&nbsp; 133624&nbsp;&nbsp;3 ocfs2_dlmfs,ocfs2,ocfs2_dlm<br>&gt;
configfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
22028&nbsp;&nbsp;2 ocfs2_nodemanager<br>&gt;
jbd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;48536&nbsp;&nbsp;2
ocfs2,ext3<br>&gt; root@lenaeja:~# /etc/init.d/o2cb start<br>&gt; Mounting configfs filesystem at /config: OK<br>&gt; Mounting ocfs2_dlmfs filesystem at /dlm: OK<br>&gt; Starting cluster ocfs2: Failed<br>&gt; Cluster ocfs2 created
<br>&gt; o2cb_ctl: Configuration error discovered while populating cluster<br>&gt; ocfs2.&nbsp;&nbsp;None of its nodes were considered local.&nbsp;&nbsp;A node is considered<br>&gt; local when its node name in the configuration maches this machine's
<br>&gt; host name.<br>&gt; Stopping cluster ocfs2: OK<br>&gt;<br>&gt; when I try to mount the device with the console:<br>&gt; ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat<br>&gt; mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
<br>&gt; &quot;Operation not permitted&quot;<br>&gt; : Could not mount /dev/hda3<br>&gt;<br>&gt; when I try to add a node:<br>&gt; o2cb_ctl: Unable to access cluster service while creating node<br>&gt;<br>&gt; Could not add node lenaeja
<br>&gt;<br>&gt; root@lenaeja:~# cat /etc/ocfs2/cluster.conf<br>&gt; cluster:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_count = 0<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = ocfs2<br>&gt;<br>&gt; in the messages:<br>&gt; Oct 12 11:00:23 localhost kernel: [4365348.899000


] OCFS2 Node Manager<br>&gt; 1.1.2<br>&gt; Oct 12 11:00:23 localhost kernel: [4365349.032000] OCFS2 DLM 1.1.1<br>&gt; Oct 12 11:00:23 localhost kernel: [4365349.084000] OCFS2 DLMFS 1.1.1<br>&gt; Oct 12 11:00:23 localhost kernel: [
4365349.085000] OCFS2 User DLM<br>&gt; kernel interface loaded<br>&gt;<br>&gt; Thanks in advance!<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________
<br>&gt;Ocfs2-users mailing list<br>&gt;<a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Ocfs2-users@oss.oracle.com</a><br>&gt;<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://oss.oracle.com/mailman/listinfo/ocfs2-users
</a><br>&gt;<br>&gt;<br><br></blockquote></div><br>


</span></div><br clear="all">