LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /var partition is read only in CentOS 5.x (https://www.linuxquestions.org/questions/linux-newbie-8/var-partition-is-read-only-in-centos-5-x-615121/)

chownuseradd 01-21-2008 02:49 AM

/var partition is read only in CentOS 5.x
 
I need my /var partition to be read/write but when I rebooted my server it now is /var read only. If someone knows how I can get this partition to be read/write that would be unbelievably great. Thanks in advance.

unSpawn 01-21-2008 04:45 AM

Ro mounting is a feature to safeguard against problems. Do for instance 'tune2fs -l /dev/partitionname | grep ^Err'. If the partition comes up as ro or gets set ro then there is an underlying problem you have to work on first. Review your system logs and dmesg, then fsck the partition.

brianmcgee 01-21-2008 05:02 AM

Code:

# mount -o remount,rw /var
Maybe you need to run filesystem check...

chownuseradd 01-21-2008 05:50 AM

thank you very much!


All times are GMT -5. The time now is 02:47 PM.