Bug 167769 - fs.sh doesn't do level 20 checking
Summary: fs.sh doesn't do level 20 checking
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stanko Kupcevic
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-07 22:05 UTC by Lon Hohberger
Modified: 2009-04-16 20:13 UTC (History)
2 users (show)

Fixed In Version: U3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-20 17:34:06 UTC
Embargoed:


Attachments (Terms of Use)
Implements monitor action for fs.sh (1.92 KB, patch)
2005-09-08 20:04 UTC, Stanko Kupcevic
no flags Details | Diff
Implements monitor action for fs.sh (3.27 KB, patch)
2005-09-09 18:36 UTC, Stanko Kupcevic
no flags Details | Diff

Description Lon Hohberger 2005-09-07 22:05:50 UTC
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.

Comment 1 Stanko Kupcevic 2005-09-08 18:44:09 UTC
fs.sh also doesn't do a read check on read-only filesystems, although metadata
says it should.


Comment 2 Stanko Kupcevic 2005-09-08 20:04:04 UTC
Created attachment 118606 [details]
Implements monitor action for fs.sh

Patch attached

Comment 3 Stanko Kupcevic 2005-09-09 18:36:08 UTC
Created attachment 118657 [details]
Implements monitor action for fs.sh

New version

Comment 4 Stanko Kupcevic 2005-09-12 17:48:22 UTC
Fix in CVS, setting to modified


Note You need to log in before you can comment on or make changes to this bug.