On occasion our virtual machines running on VMWare ESX have their filesystems go into read-only mode. This is a known issue and VMWare suggests installing a different scsi driver. Until the fix is applied, we'd like to be able to detect when the problem arises. Is there an easy way to detect it using the agent without running a command that tries to touch a file/directory?
Ad Widget
Collapse
Howto detect a read-only filesystem
Collapse
X
-
I don't know the precise answer to your queston since I don't use this version of vmware.
In the general case, you have to ask yourself, how do *I* see the problem?
On this thread (http://communities.vmware.com/thread/58121) I found that the error message says "Remounting filesystem read-only.". Maybe you can issue a "mount | grep /yourfs" and trigger on the string "read-only"?
Comment