<!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>Luis,<br>
<br>
>From the mount manpage on EL4:<br>
<br>
</tt><font face="serif">DUPLICATE LABELS<br>
       mount includes support for systems where same partition  is 
shared  between  different  devices  (e.g.  multipath  kernel<br>
       drivers).  In  particular case when mounting device by LABEL,
mount command reports problem with duplicate labels. You can<br>
       define priority of devices in file /etc/fstab.order as simple
list of devices.  The  devices  listed  in  this  file  have<br>
       greater priority than odd devices. Devices in configuration file
have descending priority.</font><tt><br>
</tt>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering


</pre>
<br>
<br>
Luis Freitas wrote:
<blockquote cite="mid:861095.32285.qm@web51405.mail.re2.yahoo.com"
 type="cite">
  <div> </div>
  <div>Anyone got this working on emc powerpath?</div>
  <div> </div>
  <div>I remeber seeing somewhere some special configuration to
get mounting by label working with multipath devices, but could
not find it again.</div>
  <div> </div>
  <div>Regards,</div>
  <div>Luis<br>
  <br>
  <b><i>Ricardo Fernandez <a class="moz-txt-link-rfc2396E" href="mailto:Ricardo.Fernandez@quanam.com">&lt;Ricardo.Fernandez@quanam.com&gt;</a></i></b>
wrote:</div>
  <blockquote class="replbq"
 style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">Hi
people, <br>
    <br>
Thanks a lot for your answer!<br>
It worked perfectly.<br>
    <br>
Best regards<br>
Ricardo<br>
    <br>
    <br>
    <br>
-----Original Message-----<br>
From: Sunil Mushran [<a class="moz-txt-link-freetext" href="mailto:Sunil.Mushran@oracle.com">mailto:Sunil.Mushran@oracle.com</a>] <br>
Sent: viernes, 24 de agosto de 2007 14:26<br>
To: Randy Ramsdell<br>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a>; Ricardo Fernandez<br>
Subject: Re: [Ocfs2-users] OCFS2 mount problem at Linux reboot when<br>
device names are non persistent.<br>
    <br>
While mount-by-uuid will work, mount-by-label should also work.<br>
The one gotcha in the latter is that it expects the device to be<br>
partitioned. As in, it will not mount-by-label if the device is /dev/sda<br>
but will if the device is /dev/sda1 or sda2, etc.<br>
    <br>
Randy Ramsdell wrote:<br>
&gt; Ricardo Fernandez wrote:<br>
&gt; <br>
&gt;&gt; Hi,<br>
&gt;&gt; <br>
&gt;&gt; I have the following problem when the servers accessing OCFS2
reboot:<br>
    <br>
&gt;&gt; as the Linux device names are non persistent, at reboot they
usually <br>
&gt;&gt; change, and then OCFS2 can't mount the device because it is
expecting<br>
    <br>
&gt;&gt; a different device name as stated in the fstab file. (it is
specified<br>
    <br>
&gt;&gt; in the format /dev/sdx as the instructions of the OCFS2
installation <br>
&gt;&gt; manual say) If I change the device name to the "new" name, it
works <br>
&gt;&gt; fine. But this is not an acceptable solution, as each node
should be <br>
&gt;&gt; able to start in a fully automatic way. (without human
intervention)<br>
&gt;&gt; <br>
&gt;&gt; I thought that the purpose of the disk LABEL that I added when
    <br>
&gt;&gt; formatting the partition with OCFS2 was exactly this. (Am I
right?) I<br>
    <br>
&gt;&gt; changed the fstab to use the LABEL option, and also try to
mount it <br>
&gt;&gt; from the command line using the LABEL option but it didn't
work. Is <br>
&gt;&gt; there any bug or known issue on this topic. I guess that if I
glue <br>
&gt;&gt; the device name with udev it will work, but I really would
expect <br>
&gt;&gt; OCF2 to solve this problem (because it is not a new one, and
most of <br>
&gt;&gt; the file systems I know can handle it)<br>
&gt;&gt; <br>
&gt;&gt; I would appreciate any help on this topic.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Thanks a lot<br>
&gt;&gt; Ricardo<br>
&gt;&gt; <br>
&gt;&gt; I work with: <br>
&gt;&gt; <br>
&gt;&gt; RHEL 4<br>
&gt;&gt; Local SCSI devices<br>
&gt;&gt; External devices locates in an EVA8000 SAN, accessed through a
fibre<br>
channel bus. The OCFS2 file system is on one of these.<br>
&gt;&gt; <br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Ocfs2-users mailing list<br>
&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
&gt;&gt; <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>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; Do not use label use UUID name and _netdev_ fstab option.<br>
&gt; This is the UUID of a volume we have.<br>
&gt; /dev/disk/by-uuid/be12775a-ec1c-4ed7-a06b-f30a081a0603<br>
&gt;<br>
&gt; UUID's are unique and never change so they are ideal for what you
are <br>
&gt; describing.<br>
&gt;<br>
&gt; Randy Ramsdell<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ocfs2-users mailing list<br>
&gt; <a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
&gt; <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>
&gt; <br>
    <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>
  <p> </p>
  <hr size="1">Need a vacation? <a moz-do-not-send="true"
 href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--">Get
great deals to amazing places </a>on Yahoo! Travel.
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
</blockquote>
</body>
</html>