<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 "ocfs2_dlmfs": 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 "ocfs2_dlmfs": 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 "/etc/ocfs2/cluster.conf"<br>
Stopping cluster ocfs2: Failed<br>
o2cb_ctl: Unable to load cluster configuration file "/etc/ocfs2/cluster.conf"<span class="q"><br>
<br>
root@lenaeja:~# /etc/init.d/o2cb status<br>
Module "sctp": Loaded<br>
Module "configfs": Loaded<br>
Filesystem "configfs": Mounted<br>
Module "ocfs2_nodemanager": Loaded<br>
Module "ocfs2_dlm": Loaded<br>
Module "ocfs2_dlmfs": Loaded<br>
Filesystem "ocfs2_dlmfs": 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>
node_count = 2<br>
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> <<a href="mailto:Sunil.Mushran@oracle.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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;">
root@lenaeja:~# cat /etc/ocfs2/cluster.conf<br>cluster:<br> node_count = 0<br> 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>> hello,<br>><br>> I'm running Ubuntu Breezy with the OCFS2 modules in the standard<br>> kernel. I installed ocfs2console and ocfs2-tools<br>> I've formatted a partition with ocfs2. But I can't add any node or
<br>> mount the device(with the ocfs2console). because I get a "Unable to<br>> access cluster service"<br>> I can't find the cause nor the solution to this.<br>><br>> root@lenaeja:~# /etc/init.d/o2cb status
<br>> Module "sctp": Loaded<br>> Module "configfs": Loaded<br>> Filesystem "configfs": Mounted<br>> Module "ocfs2_nodemanager": Loaded<br>> Module "ocfs2_dlm": Loaded
<br>> Module "ocfs2_dlmfs": Loaded<br>> Filesystem "ocfs2_dlmfs": Mounted<br>> Checking cluster ocfs2: Offline<br>> root@lenaeja:~# /etc/init.d/o2cb online ocfs2<br>> Starting cluster ocfs2: Failed
<br>> Cluster ocfs2 created<br>> o2cb_ctl: Configuration error discovered while populating cluster<br>> ocfs2. None of its nodes were considered local. A node is considered<br>> local when its node name in the configuration maches this machine's
<br>> host name.<br>> Stopping cluster ocfs2: OK<br>><br>> root@lenaeja:~# lsmod | grep ocfs<br>> ocfs2_dlmfs 19592 0<br>> ocfs2 306848 0<br>> ocfs2_dlm 134540 2 ocfs2_dlmfs,ocfs2
<br>> ocfs2_nodemanager 133624 3 ocfs2_dlmfs,ocfs2,ocfs2_dlm<br>>
configfs
22028 2 ocfs2_nodemanager<br>>
jbd 48536 2
ocfs2,ext3<br>> root@lenaeja:~# /etc/init.d/o2cb start<br>> Mounting configfs filesystem at /config: OK<br>> Mounting ocfs2_dlmfs filesystem at /dlm: OK<br>> Starting cluster ocfs2: Failed<br>> Cluster ocfs2 created
<br>> o2cb_ctl: Configuration error discovered while populating cluster<br>> ocfs2. None of its nodes were considered local. A node is considered<br>> local when its node name in the configuration maches this machine's
<br>> host name.<br>> Stopping cluster ocfs2: OK<br>><br>> when I try to mount the device with the console:<br>> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat<br>> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
<br>> "Operation not permitted"<br>> : Could not mount /dev/hda3<br>><br>> when I try to add a node:<br>> o2cb_ctl: Unable to access cluster service while creating node<br>><br>> Could not add node lenaeja
<br>><br>> root@lenaeja:~# cat /etc/ocfs2/cluster.conf<br>> cluster:<br>> node_count = 0<br>> name = ocfs2<br>><br>> in the messages:<br>> Oct 12 11:00:23 localhost kernel: [4365348.899000
] OCFS2 Node Manager<br>> 1.1.2<br>> Oct 12 11:00:23 localhost kernel: [4365349.032000] OCFS2 DLM 1.1.1<br>> Oct 12 11:00:23 localhost kernel: [4365349.084000] OCFS2 DLMFS 1.1.1<br>> Oct 12 11:00:23 localhost kernel: [
4365349.085000] OCFS2 User DLM<br>> kernel interface loaded<br>><br>> Thanks in advance!<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________
<br>>Ocfs2-users mailing list<br>><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>><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>><br>><br><br></blockquote></div><br>
</span></div><br clear="all">