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"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>></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>
> If you use symbolic links in Filesystem resource agent directory parameter,<br>
> then monitoring operation fails, because actual mount point in /proc/mounts<br>
> (or the output of mount command) is diferent as the configured one.<br>
<br>
</div>Why don't you just specify the actual mount point? Are they so<br>
ugly? Must say that I've never even tried to do a mount on a<br>
symbolic link :)<br>
<br>
Cheers,<br>
<br>
Dejan<br>
<div class="im"><br>
> Here is the patch that fixes this:<br>
><br>
> --- Filesystem_new_org 2011-03-18 11:32:37.000000000 +0100<br>
> +++ Filesystem_new 2011-03-18 12:27:35.000000000 +0100<br>
> @@ -1002,0 +1003,6 @@<br>
> +<br>
> + #Resolve symlinks in MOUNTPOINT<br>
> + resolved_mntpnt=`readlink -f $MOUNTPOINT`<br>
> + if [ $? -eq 0 ]; then<br>
> + MOUNTPOINT=$resolved_mntpnt<br>
> + fi<br>
><br>
><br>
> Regards,<br>
><br>
> Marko<br>
<br>
</div>> _______________________________________________<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>
<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>