LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-08-2004, 05:23 AM   #1
jkpchang
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


hi,

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
again.

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.


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

Rep: Reputation: 53
well...you 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 ?

egag
 
  


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

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

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

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