--- ../../../vendor/pvfs2/pvfs-2-8-2-rc1/examples/heartbeat/hardware-specific/Filesystem-qla-monitor	2009-10-01 11:23:56.000000000 -0500
+++ examples/heartbeat/hardware-specific/Filesystem-qla-monitor	2009-12-09 11:06:50.000000000 -0600
@@ -643,9 +643,16 @@
       /usr/bin/fs-power-control.pl --fs-name $fsname --conf-dir $conf_dir --host `hostname` --command reboot
       # shoot ourselves in the head
       return $OCF_ERR_GENERIC
-    else
-      return $ORIG_RET
-    fi    
+    fi
+    dd bs=4096 count=1 if=/dev/zero of=${MOUNTPOINT}/filesystem.monitor
+    if [ $? -ne 0 ]; then
+      ocf_log err "Error: Unable to write to $DEVICE on node `hostname`."
+      /usr/bin/logger -p user.err -t PVFS2 "Error: Unable to write to $DEVICE on node `hostname`, failing over."
+      /usr/bin/fs-instance-alarm.pl --fs-name $fsname --ce `hostname` --type PVFS2_HA --msg "Error: Unable to write to $DEVICE on node `hostname`, failing over."
+      # shoot ourselves in the head
+      /usr/bin/fs-power-control.pl --fs-name $fsname --conf-dir $conf_dir --host `hostname` --command reboot
+      return $OCF_ERR_GENERIC
+    fi
   fi
   return $ORIG_RET
 }
