Bug 1127481
| Summary: | RFE: Platform plugin, for file system, detect if a mount is read-only or not | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Elias Ross <genman> |
| Component: | Plugins | Assignee: | Nobody <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.12 | CC: | hrupp |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I have added mount options as available trait, so comparing this to previous value should warn you (in case of read-only). And this is a bit more general property for other users also, as those options should not change on their own.
In the master:
commit 1dd295933482b36fa8473d80941b8bad8c680cc7
Author: Michael Burman <miburman>
Date: Mon Nov 10 15:14:57 2014 +0200
[BZ 1127481] Add mount options as traits to the filesystem monitoring
|
It would be nice to know if, for example, the root partition (or any other partition) was mounted read-only ('ro'), if for example the filesystem had errors and thus was unable to come up properly. This is primarily for problem detection. It may be exposed through Hyperic library: http://www.hyperic.com/support/docs/sigar/org/hyperic/sigar/FileSystem.html#getOptions() However, the mount options may contain lots of other things not critical. Perhaps a simple 'read only' flag would make sense rather than showing all the mount options. I'm not sure what operating systems other than Linux what might be indicators.