[Pacemaker] Filesystem resource agent patch

Marko Potocnik marko.potocnik at gmail.com
Mon Mar 21 06:17:52 UTC 2011


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.

Do I need to do anything else for the patch to make it into the main branch?

Regards,

Marko

On Fri, Mar 18, 2011 at 2:29 PM, Dejan Muhamedagic <dejanmm at fastmail.fm>wrote:

> Hi,
>
> On Fri, Mar 18, 2011 at 11:35:01AM +0100, Marko Potocnik wrote:
> > If you use symbolic links in Filesystem resource agent directory
> parameter,
> > then monitoring operation fails, because actual mount point in
> /proc/mounts
> > (or the output of mount command) is diferent as the configured one.
>
> Why don't you just specify the actual mount point? Are they so
> ugly? Must say that I've never even tried to do a mount on a
> symbolic link :)
>
> Cheers,
>
> Dejan
>
> > Here is the patch that fixes this:
> >
> > --- Filesystem_new_org  2011-03-18 11:32:37.000000000 +0100
> > +++ Filesystem_new      2011-03-18 12:27:35.000000000 +0100
> > @@ -1002,0 +1003,6 @@
> > +
> > +       #Resolve symlinks in MOUNTPOINT
> > +       resolved_mntpnt=`readlink -f $MOUNTPOINT`
> > +       if [ $? -eq 0 ]; then
> > +               MOUNTPOINT=$resolved_mntpnt
> > +       fi
> >
> >
> > Regards,
> >
> > Marko
>
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110321/134d6e7b/attachment.htm>


More information about the Pacemaker mailing list