Actually the symbolic link is the beautifier. We use different versions of database server and using the symbolic link mount point is always the same.<div><br></div><div>Do I need to do anything else for the patch to make it into the main branch?<br>
<div><br></div><div>Regards,</div><div><br></div><div>Marko<br><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 2:29 PM, Dejan Muhamedagic <span dir="ltr">&lt;<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Fri, Mar 18, 2011 at 11:35:01AM +0100, Marko Potocnik wrote:<br>
&gt; If you use symbolic links in Filesystem resource agent directory parameter,<br>
&gt; then monitoring operation fails, because actual mount point in /proc/mounts<br>
&gt; (or the output of mount command) is diferent as the configured one.<br>
<br>
</div>Why don&#39;t you just specify the actual mount point? Are they so<br>
ugly? Must say that I&#39;ve never even tried to do a mount on a<br>
symbolic link :)<br>
<br>
Cheers,<br>
<br>
Dejan<br>
<div class="im"><br>
&gt; Here is the patch that fixes this:<br>
&gt;<br>
&gt; --- Filesystem_new_org  2011-03-18 11:32:37.000000000 +0100<br>
&gt; +++ Filesystem_new      2011-03-18 12:27:35.000000000 +0100<br>
&gt; @@ -1002,0 +1003,6 @@<br>
&gt; +<br>
&gt; +       #Resolve symlinks in MOUNTPOINT<br>
&gt; +       resolved_mntpnt=`readlink -f $MOUNTPOINT`<br>
&gt; +       if [ $? -eq 0 ]; then<br>
&gt; +               MOUNTPOINT=$resolved_mntpnt<br>
&gt; +       fi<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Marko<br>
<br>
</div>&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br></div></div>