Cool. I will give that a try too.<br>Also in my wanderings on the web, I have come across the use fstab.order.<br>Also found this on metalink: in note <font face="helvetica"><strong>471256.1</strong></font><br>In the /etc/fstab.order file put in all the powerpath device names.<br>
<br>My preference would be to go the udev route, if i can get an example on how to set that specfically for EMC pwerPath devices.<br>If you have, could you please share?<br><br>Thanks.<br><br>Will that work too ?<br><br><div class="gmail_quote">
On Wed, Jun 10, 2009 at 1:37 PM, Sunil Mushran <span dir="ltr">&lt;<a href="mailto:sunil.mushran@oracle.com">sunil.mushran@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;">
There is another scheme (less elegant but probably quicker to deploy) that<br>
was described in this list by a user.<br>
<br>
As root run blkid. Then edit /etc/blkid.tab and remove all sd devices that<br>
correspond to the emcpp devices. Ensure pp is enabled. Rerun blkid. This<br>
time you should see the pp devices in /etc/blkid.tab. If not, you should be<br>
able to hand edit those device.<br>
<br>
Now mount by label and mount by uuid will mount the pp device.<br>
<br>
Sridhar Avantsa 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">
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><div><div></div><div class="h5">
On Wed, Jun 10, 2009 at 12:43 PM, Joel Becker &lt;<a href="mailto:Joel.Becker@oracle.com" target="_blank">Joel.Becker@oracle.com</a> &lt;mailto:<a href="mailto:Joel.Becker@oracle.com" target="_blank">Joel.Becker@oracle.com</a>&gt;&gt; wrote:<br>

<br>
    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<br>
    bindings across<br>
    &gt; nodes.<br>
    &gt; But how do I make sure when it mounts by UUID , that the pwoer<br>
    path device<br>
    &gt; is used.<br>
    &gt;<br>
    &gt; Any help will be much appreciated.<br>
<br>
           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;<br>
    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<br>
    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<br>
    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<br>
    device<br>
    name that points to the right device.  Then you just mount by the<br>
    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>
<br>
    Joel Becker<br>
    Principal Software Developer<br>
    Oracle<br></div></div>
    E-mail: <a href="mailto:joel.becker@oracle.com" target="_blank">joel.becker@oracle.com</a> &lt;mailto:<a href="mailto:joel.becker@oracle.com" target="_blank">joel.becker@oracle.com</a>&gt;<div class="im"><br>
    Phone: (650) 506-8127<br>
<br>
<br>
<br>
<br>
-- <br>
Sridhar Avantsa<br>
<br>
</div><a href="mailto:savantsa@gmail.com" target="_blank">savantsa@gmail.com</a> &lt;mailto:<a href="mailto:savantsa@gmail.com" target="_blank">savantsa@gmail.com</a>&gt;<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Ocfs2-users mailing list<br>
<a href="mailto:Ocfs2-users@oss.oracle.com" target="_blank">Ocfs2-users@oss.oracle.com</a><br>
<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Sridhar Avantsa<br><br><a href="mailto:savantsa@gmail.com">savantsa@gmail.com</a><br><br>