Showing results for 
Search instead for 
Did you mean: 

Read Only FS

Regular Advisor

Read Only FS


I have got a root file system running in read-only mode. It is a VMware (2.5) server running Linux Red Hat AS4 .

A reboot resolves the issue in the short-term but only for a few days before it reverts back to read-only mode again. I have applied the latest kernel patch but this did not resolve the issue. There are no errors in the fstab and the following error occurs when trying to remount the FS:

# mount -o remount,rw /dev/sda1 /
mount: you must specify the filesystem type

It appears to be read write but as you can see from the other example this is not the case:
# mount -l
/dev/mapper/vg0-lvol00 on / type ext3 (rw) []

# rm
rm: remove regular file `'? y
rm: cannot remove `': Read-only file system

Exalted Contributor

Re: Read Only FS


This condition usually only comes about when there is a problem with the filesystem or the underlying disk.

The system should be booted in single user mode and fsck be run on the root file system.

You might wish to use vmware utilities to check the disk integrity of the virtual machine as well.

Steven E Protter
Owner of ISN Corporation
Honored Contributor

Re: Read Only FS

If SEP's thoughts do not lead to a solution then another thought...

Are you sure the OS is not crashing or someone is poweroffing the VM when you are not aware ?

who -b after the revert to RO might lead you somewhere.

Valued Contributor

Re: Read Only FS

Hi Duffs
I am also with SEP, This indicates there is a problem with your file system intrgrity. and i also suggest to do a fsck on the / file system. better you take backups before you do any thing.

Good Luck...!
Regular Advisor

Re: Read Only FS

Hi lads thanks for the suggestions but appently this is a known bug in VMWare. I had applied kernel patch update 4 but VMWare recommend patch update 5 for my version of software. Applied the patch and performed a reboot and all looks good so far.
The following link is very useful: