<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Yohan,<br>
<br>
Your /dev/sda3 is not the same disk. The UUID on both nodes should be
the same. Looks like you're just using your internal disk and
partitioning them exactly the same way. The fact that it has the same
name, doesn't mean it is shared.<br>
<br>
Note that for OCFS2 to work, you have to have some type of external
shared storage that all nodes can connect to and share disks. Those
external storage are usually connected via Fiber or GigaE (iSCSI).<br>
<br>
<br>
</tt><br>
Yohan wrote:
<blockquote cite="mid:46C177BC.6010600@proxad.net" type="cite">Marcos
E. Matsunaga a écrit :
  <br>
  <blockquote type="cite">Yohan,
    <br>
    <br>
Can you run the commands below on the device you're trying to mount on
both nodes? If possible, format the partition before running them.
    <br>
    <br>
# debugfs.ocfs2 -R "stats" /dev/sdXX |grep UUID:
    <br>
# debugfs.ocfs2 -R "stats" /dev/sdXX |grep Slots:
    <br>
# debugfs.ocfs2 -R "slotmap" /dev/sdXX
    <br>
  </blockquote>
just after a load &amp; a format of the device..
  <br>
  <br>
root@t1:~# debugfs.ocfs2 -R "stats" /dev/sda3 |grep UUID: ;
debugfs.ocfs2 -R "stats" /dev/sda3 |grep Slots:; debugfs.ocfs2 -R
"slotmap" /dev/sda3
  <br>
       UUID: 1541D4418947492C82ECD302441B3176
  <br>
       Max Node Slots: 2
  <br>
       Slot#   Node#
  <br>
  <br>
root@t2:~# debugfs.ocfs2 -R "stats" /dev/sda3 |grep UUID: ;
debugfs.ocfs2 -R "stats" /dev/sda3 |grep Slots:; debugfs.ocfs2 -R
"slotmap" /dev/sda3
  <br>
       UUID: EA923BDF152F481C8DEAB39077CF69F8
  <br>
       Max Node Slots: 2
  <br>
       Slot#   Node#
  <br>
  <br>
  <blockquote type="cite"><br>
Also, make sure you have the same /etc/ocfs2/cluster.conf and
/etc/sysconfig/o2cb on both nodes (copy from t1 to t2 to make sure they
are exactly the same).
    <br>
    <br>
  </blockquote>
root@t1:~# md5sum /etc/ocfs2/cluster.conf /etc/default/o2cb
  <br>
1663a4d9967202771726d8ffcc7a9158  /etc/ocfs2/cluster.conf
  <br>
e70df5b5660d9357d52e4d0d9ef04458  /etc/default/o2cb
  <br>
  <br>
md5sum /etc/ocfs2/cluster.conf /etc/default/o2cb
  <br>
1663a4d9967202771726d8ffcc7a9158  /etc/ocfs2/cluster.conf
  <br>
e70df5b5660d9357d52e4d0d9ef04458  /etc/default/o2cb
  <br>
  <br>
  <blockquote type="cite">Can you try the following:
    <br>
    <br>
# /etc/init.d/o2cb online
    <br>
  </blockquote>
on both it does:
  <br>
Starting O2CB cluster ocfs2: OK
  <br>
  <br>
  <blockquote type="cite"># mount /dev/sdXX &lt;mountpoint&gt;
    <br>
  </blockquote>
root@t1:~# mounted.ocfs2 -f
  <br>
Device                FS     Nodes
  <br>
/dev/sda3             ocfs2  t1
  <br>
  <br>
root@t2:~# mounted.ocfs2 -f
  <br>
Device                FS     Nodes
  <br>
/dev/sda3             ocfs2  t2
  <br>
  <br>
  <blockquote type="cite">If it fail, please, copy about 10 lines
before first ocfs2 message from /var/log/messages from both nodes and
send it to me.
    <br>
  </blockquote>
Ok
  <br>
Thanks
  <br>
  <br>
_______________________________________________
  <br>
Ocfs2-users mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
  <br>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering


</pre>
</body>
</html>