Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The /var partition randomly mounts read-only, when I reboot it mounts as rw again.

OS: CentOS 5.4 
partition: /var, size: 80G
the /var is for web logs and MySQL data file.
share|improve this question

migrated from stackoverflow.com Oct 18 '11 at 8:38

This question came from our site for professional and enthusiast programmers.

    
Will the OP ever come back to choose an answer, will a bounty be worth it? –  invert Nov 1 '12 at 8:14

2 Answers 2

Possibilities are:

  1. Ext3 filesystem errors
  2. Disk IO bottleneck OR HDD issues.

First thing you must check whether the HDD IO and it's functionality, performance. In order check the IO please take a look into this question.

iostat -x -d 

(will do the trick)

If you have filesystem error, boot your server into single user mode then run,

fsck -a -f

this will resolve your filesystem issue.

share|improve this answer

Likely you have a hardware problem with your disk, or corruption from some other reason. When a file system errors is detected, the filesystem is usually remounted read only.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.