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 |
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 |
All times are GMT -5. The time now is 10:40 PM. |