Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-08-2004, 06:23 AM   #1
LQ Newbie
Registered: Dec 2004
Location: santa clara
Distribution: Fedora 2.6.5-1.358 SMP
Posts: 1

Rep: Reputation: 0
File system becomes read-only


I recently installed Fedora. I was using it for a few days
and it was fine. Then all of a sudden, the file system
becomes read-only automatically. When I tried to touch
a file, it says:

[root@machine root]# touch abc
touch: cannot touch `abc': Read-only file system

So I rebooted, and the file system turns back to read-
write. But an hour or so later, it becomes read-only

do I have a virus? Tomcat, MySQL and other stuff are
running and these ports are reachable externally.

or do I just have a bad hard drive? Have anyone else here
seen this? Or am I just not setting certain things correctly,
e.g. fstab and mtab.

Old 12-08-2004, 09:23 AM   #2
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52 shouldn't edit mtab, that file is keeping track of all mounted fs.
and your fstab should be ok too, as all is ok after a reboot.

to switch a filesystem from r/w to ro it should be remounted. ( but how ? )
this change should be reflected in the mtab however.
check that file after a reboot and again after the perm. change occured.
any difference ?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
read only file system burkie Linux - Newbie 2 07-01-2004 11:34 AM
read-only file system znake Linux - General 3 05-24-2004 10:05 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM
read-only file system shimonim Linux - General 3 03-05-2001 05:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 AM.

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