Joel,<br>Thanks for the reply.<br>Wondering if you have a sample udev set up using power path on hand that I can use to get going.<br><br>Thanks<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 12:43 PM, Joel Becker <span dir="ltr">&lt;<a href="mailto:Joel.Becker@oracle.com">Joel.Becker@oracle.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wed, Jun 10, 2009 at 12:22:03PM -0500, Sridhar Avantsa wrote:<br>
&gt; OEL 5, OCFS 1.4, using EMC Power Path for multi pathing.<br>
&gt;<br>
&gt; I want t mount the OCFS2 file system on the emc power path device.<br>
&gt; I can mount by UUID, and not have to worry about persistent bindings across<br>
&gt; nodes.<br>
&gt; But how do I make sure when it mounts by UUID , that the pwoer path device<br>
&gt; is used.<br>
&gt;<br>
&gt; Any help will be much appreciated.<br>
<br>
</div>        There are two things you can do.  The first is to not worry,<br>
because PP takes over all devices.  That is, if &#39;sda&#39; and &#39;sdb&#39; are two<br>
paths of &#39;emcpowera&#39;, it doesn&#39;t matter whether you open /dev/sda1,<br>
/dev/sdb1, or /dev/emcpowera1.  PP has hijacked the devices and is used<br>
in all cases.<br>
        Now, a lot of people consider this to be unkosher and wish that<br>
PP didn&#39;t hijack the devices.  Maybe in the future EMC will change this.<br>
You can, of course, not worry about it until they do.<br>
        The other alternative is to use udev to ensure you have a device<br>
name that points to the right device.  Then you just mount by the device<br>
name.  For example, a udev rule that only triggers on &#39;emcpower*&#39;<br>
devices, checks that they are ocfs2 volumes, and then creates<br>
/dev/mydisks/&lt;uuid&gt; for them.<br>
<br>
Joel<br>
<br>
--<br>
<br>
Life&#39;s Little Instruction Book #396<br>
<br>
        &quot;Never give anyone a fruitcake.&quot;<br>
<font color="#888888"><br>
Joel Becker<br>
Principal Software Developer<br>
Oracle<br>
E-mail: <a href="mailto:joel.becker@oracle.com">joel.becker@oracle.com</a><br>
Phone: (650) 506-8127<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sridhar Avantsa<br><br><a href="mailto:savantsa@gmail.com">savantsa@gmail.com</a><br><br>