Hi folks,

attached is a small patch to make "mount -o bind" work for
the Filesystem OCF script. You can use something like

        Filesystem::/space/data::/nfs4/data::none::bind

in your haresources file.


Hope this helps. Regards

Harri


--- heartbeat-2.1.4.orig/resources/OCF/Filesystem	2007-12-21 16:32:27.000000000 +0100
+++ heartbeat-2.1.4/resources/OCF/Filesystem	2009-10-16 14:27:27.000000000 +0200
@@ -802,6 +802,10 @@
 	;;
 esac
 
+if [ "x$FSTYPE" = "xnone" ]; then
+    FSTYPE=""
+fi
+
 case $OP in
 start)	Filesystem_start
 	;;

Reply via email to