Ad Widget

Collapse

Howto detect a read-only filesystem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cperera
    Junior Member
    • May 2007
    • 19

    #1

    Howto detect a read-only filesystem

    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?
  • Kees Jan Koster
    Member
    • Oct 2007
    • 83

    #2
    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

    Working...