Description of problem: The fs.sh script doesn't do a OCF_CHECK_LEVEL 20 check. In the metadata, the comment says it's supposed to try to write to the file system (probably a hidden file...) if the file system is not mounted read-only. Furthermore, this check should occur more than every 10 minutes. Perhaps every 60 seconds is a better interval. This part of the check is supposed to be used to determine whether or not we can actually write to the file system in question. This, in turn, can be used to detect block device errors/failures and/or dead links in non-multipath environments. Without this check, the file system will sit mounted forever -- even if the device holding the FS has gone away.
fs.sh also doesn't do a read check on read-only filesystems, although metadata says it should.
Created attachment 118606 [details] Implements monitor action for fs.sh Patch attached
Created attachment 118657 [details] Implements monitor action for fs.sh New version
Fix in CVS, setting to modified