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.<div>
<br></div><div>Here is the patch that fixes this:</div><div><br></div><div><div>--- Filesystem_new_org 2011-03-18 11:32:37.000000000 +0100</div><div>+++ Filesystem_new 2011-03-18 12:27:35.000000000 +0100</div><div>@@ -1002,0 +1003,6 @@</div>
<div>+</div><div>+ #Resolve symlinks in MOUNTPOINT</div><div>+ resolved_mntpnt=`readlink -f $MOUNTPOINT`</div><div>+ if [ $? -eq 0 ]; then</div><div>+ MOUNTPOINT=$resolved_mntpnt</div><div>
+ fi</div></div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Marko</div>