LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2008, 02:49 AM   #1
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Rep: Reputation: 15
/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.
 
Old 01-21-2008, 04:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 01-21-2008, 05:02 AM   #3
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Code:
# mount -o remount,rw /var
Maybe you need to run filesystem check...
 
Old 01-21-2008, 05:50 AM   #4
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Original Poster
Rep: Reputation: 15
thank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 5 vsftpd /var/log/secure question johnvoisey Linux - Security 3 09-06-2007 06:45 AM
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
/var/log/messages Permitions always on read Carroarmato0 Mandriva 4 02-19-2006 08:47 AM
VAR Read-Only ~ How do I change it? philgarcia Linux - General 4 02-01-2006 02:54 PM
cannot read/write to /var/www eddi Linux - Newbie 1 02-04-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration