Stanley Yeo wrote:
I am having problems with my brand new Dell server. Installation was done by the datacenter, but it kept getting into readonly mode after a while. A test on the hardware did not report any problems. I am hoping for someone to shed some light on the possible reasons for the server to go into readonly mode.

Better still ... contact me if you are available to do some troubleshooting, and possible reinstallation at the datacenter.

Could be file system corruption. Are you running ext3?

ext3 will turn readonly if it comes across an inconsistent filesystem state.

This can happen for example if the power failed at some point. Filesystem journal recovery is not infallible, if for example you have writeback caching enabled on your RAID controller and no battery backed ram and then the power fails, bam!, inconsistent filesystem (but ext3 will happily recover journal and think all is okay).

My advice (if you have not already done this) is to run a full filesystem check:

1. take machine to runlevel 1 (singleuser mode)
 e.g. init 1

2. remount root readonly (or whichever fs you are having trouble with)
  e.g. mount -o remount,ro /

3. run fsck -f on the filesystem.
 e.g. fsck -f /dev/sda1

4. reboot


_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to