Just my two cents...

Filesystem RA for V1 (native heartbeat RA) in the current -dev tree
fails with the following error:

[EMAIL PROTECTED] resource.d]# /etc/ha.d/resource.d/Filesystem /dev/sdc2 
/mnt/shared-disk/ start
/etc/ha.d/resource.d/Filesystem: line 58: syntax error near unexpected token 
`;;'
/etc/ha.d/resource.d/Filesystem: line 58: `    export OCF_RESKEY_fstype;;'


Beside this, it wrongly calls OCF IPaddr RA at last.
The attached patch will fix them.

Thanks,
-- 
Keisuke MORI
NTT DATA Intellilink Corporation

diff -r 171967143fa0 resources/heartbeat/Filesystem.in
--- a/resources/heartbeat/Filesystem.in	Tue Dec 19 11:54:14 2006 +0100
+++ b/resources/heartbeat/Filesystem.in	Wed Dec 20 16:37:23 2006 +0900
@@ -55,15 +55,15 @@ fi
 
 if [ "x$2" != "x" ]; then
     OCF_RESKEY_fstype=$1; shift
-    export OCF_RESKEY_fstype;;
+    export OCF_RESKEY_fstype
 fi
 
 if [ "x$2" != "x" ]; then
     OCF_RESKEY_options="$1";  shift
-    export OCF_RESKEY_options;;
+    export OCF_RESKEY_options
 fi
 
-OCF_TYPE=IPaddr
+OCF_TYPE=Filesystem
 OCF_RESOURCE_INSTANCE=${OCF_TYPE}_$OCF_RESKEY_device
 export OCF_TYPE OCF_RESOURCE_INSTANCE
 
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to