Hi, On Wed, Oct 21, 2009 at 08:28:51AM +0200, Harald Dunkel wrote: > Harald Dunkel wrote: > > Hi folks, > > > > Maybe a stupid question, but I haven't found it answered > > anywhere: How can I provide empty arguments to the "old" > > resource scripts via haresources? Something like > > > > Filesystem::/space/data::/nfs4/data::::bind > > or > > Filesystem::/space/data::/nfs4/data::""::bind > > > > Attached is a small patch to make the Filesystem script > of 2.1.4 support
Many thanks for the patch, but bind mounts support has been thoroughly revised at the beginning of 2009. Your version is obviously older. Though I'm not sure if that would help for haresources: v1 configuration is currently unmaintained. Thanks, Dejan > Filesystem::/space/data::/nfs4/data::none::bind > > > 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 > ;; > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
