<!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>Alison,<br>
<br>
I think I didn't understand it before. The mount problem only happens
when you want to mount automatically on boot time? If that's the
situation, the OCFS2 FAQ
(<a class="moz-txt-link-freetext" href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html</a>)
has the following:<br>
<br>
</tt><font size="+1">
<li>What do I need to do to mount OCFS2 volumes on boot?<br>
</li>
</font>
<ul>
<li>Enable o2cb service using:
<pre>        # chkconfig --add o2cb
</pre>
</li>
<li>Enable ocfs2 service using:
<pre>        # chkconfig --add ocfs2
</pre>
</li>
<li>Configure o2cb to load on boot using:
<pre>        # /etc/init.d/o2cb configure
</pre>
</li>
<li>Add entries into /etc/fstab as follows:
<pre>        /dev/sdX        /dir        ocfs2        _netdev        0        0
</pre>
</li>
</ul>
<tt>Using 'chkconfig --list|grep o2cb' and 'chkconfig --list|grep
ocfs2' would tell you if they are properly configured. The output
should show that it is "on" on init levels 2, 3 and 5.</tt><br>
<tt><br>
Regarding the mount, I got this from the manpages:<br>
<br>
</tt>
<h2>DUPLICATE LABELS</h2>
<b>mount </b>
includes support for systems where same partition is shared
between different devices (e.g. multipath kernel drivers). In
particular
case when mounting device by LABEL, mount command reports problem with
duplicate labels.
<p>You can define priority of devices in file <i>/etc/fstab.order</i>
as simple list of devices (with full pathname for the devices). The
devices listed in this file have greater priority than other
devices. Devices in configuration file have descending priority. </p>
<br>
<br>
Alison Jolley wrote:
<blockquote cite="mid:467065D2.4090501@multimode.us" type="cite">Marcos,
<br>
I've attached the files you wanted.
<br>
I didn't get any errors on the stop or online commands - I can mount
fine after booting... Just not during. It somehow didn't like the LABEL
parameter in the mount command. See attached file.
<br>
Thanks!
<br>
<br>
Alison
<br>
<br>
Marcos E. Matsunaga wrote:
<br>
<blockquote type="cite">Alison,
<br>
<br>
Can you perform the following on the node that is failing:
<br>
<br>
# date
<br>
# /etc/init.d/o2cb stop
<br>
# /etc/init.d/o2cb online
<br>
# mount LABEL=u01_oradata /u02
<br>
<br>
And then copy the /var/log/messages file piece about 5 minutes before
the output of the date command above and send it to me. Also, if you
can cut/paste the output of the sequence above and attach to the email,
that would help.
<br>
<br>
Alison Jolley wrote:
<br>
<blockquote type="cite">I'm able to ping both IP addresses. I also
am using the same ocfs2 version. Also, I've redone the mounted command
and I've attached a file containing the output.
<br>
Thanks!
<br>
<br>
Alison
<br>
<br>
Marcos E. Matsunaga wrote:
<br>
<blockquote type="cite">Alison,
<br>
<br>
The output of mounted.ocfs2 are both from node 1 (tap2d2), but I
believe you see the same UUID from node 0 (tap2d1).
<br>
<br>
Make sure you can ping each other using the IP addresses you have
specified on cluster.conf.
<br>
<br>
Also, make sure both nodes have the same ocfs2 version (rpm -qa|grep
ocfs2).
<br>
<br>
<br>
<br>
Alison Jolley wrote:
<br>
<blockquote type="cite">Marcos,
<br>
I've attached the error I get while starting up. As well as the output
from mounted.ocfs2 and the cluster.conf files.
<br>
<br>
Here is the other information you have requested:
<br>
OS Version: Redhat 2.6.9-42.ELsmp
<br>
OCFS2 Version: 1.2.5-1
<br>
Environment: EMC Clariion connected via fibre to 2 Dell 1950.
<br>
<br>
Thanks!
<br>
<br>
Alison
<br>
<br>
Marcos E. Matsunaga wrote:
<br>
<blockquote type="cite">Alison,
<br>
<br>
You should use screen (depending on the distribution, it is installed
automatically) while mounting on the second node and capture the output
(ctrl-a and shift-h will start/stop the capture). That may give you a
clue on what is going on. If you don't find the problem, please add
some details like, kernel version, disk storage (iscsi, FC, scsi, etc),
ocfs2 versions, and network interface that ocfs2 is using for DLM.
Also, it would be interesting to see the /etc/ocfs2/cluster.conf from
both nodes and the output of mounted.ocfs2 -d on both nodes.
<br>
<br>
Alison Jolley wrote:
<br>
<blockquote type="cite">I'm having issues on ocfs2
mounting. I have a 2 node cluster, and one of the clusters works fine.
The other one is experiencing "flakey" behavior. Upon server startup,
it attempts to mount the drive, however it fails and produces an error
which scrolls by too fast (I checked /var/log/messages and
/var/log/dmesg with no luck). I can immediately mount the drive after
startup, which produces no errors, however it unmounts itself within a
matter of hours (again - no errors in messages or dmesg). Is there
another log I should look at? Does anyone have any ideas as to why this
keeps failing?
<br>
thanks!
<br>
<br>
Alison
<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>
-- <br>
<br>
Regards,
<br>
<br>
Marcos Eduardo Matsunaga
<br>
<br>
Oracle USA
<br>
Linux Engineering
<br>
<br>
<br>
</blockquote>
</blockquote>
<br>
-- <br>
<br>
Regards,
<br>
<br>
Marcos Eduardo Matsunaga
<br>
<br>
Oracle USA
<br>
Linux Engineering
<br>
<br>
<br>
</blockquote>
_______________________________________________
<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>
-- <br>
<br>
Regards,
<br>
<br>
Marcos Eduardo Matsunaga
<br>
<br>
Oracle USA
<br>
Linux Engineering
<br>
<br>
<br>
</blockquote>
<pre wrap=""><pre wrap=""><pre wrap="">_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre></pre></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Marcos Eduardo Matsunaga
Oracle USA
Linux Engineering
</pre>
</body>
</html>