LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-30-2009, 08:05 PM   #1
czerwinski1977
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Question File system switched to read-only


Hi there!

The following problem has been worrying me for several months, and still I wasn't able to find a reason for it...

Every then and now, my file system (EXT3) switches to read-only.

System: Thinkpad T30, openSUSE 11.1, 60 GB HDD, 1 partition (sda1) mounted as /

* For a long time I had been thinking it occured only when I was watching videos from a mounted NFS volume via WLAN, but just today it happened when I was not watching. - In any case, I see no factual connection between the NFS mount and my root FS going r/o.
* The partition has 8 GB of free space
* I wasn't able to correlate the described failure with SMART log entries, which leads me to the assumption that my HDD is physically ok.

sda1failed1-3.dmesg.txt
in this file I collected the dmesg outputs of 3 situations

sda1failed3.smart.txt
In this file there is the SMART output ca. 3 hours after situation 3. I am not sure whether I understand the output, but as far as I can tell, the drive is ok. From the power_on_minutes value (16657h+19min) and the time of the last errors (16383 hours) I conclude that the going read-only is not related to the SMART log entries.

Well... that's pretty everything I got so far. I would be very pleased if somebody could tell me what is going on, what other logs might be helpful or what else I can do.

Thanks in advance!

Reinhard.
 
Old 10-30-2009, 08:31 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Take a look at the output of the dmesg command, as well as /var/log/messages.
Normally, mounting read-only means that a filesystem operation returned an error state, which can be a simple filesystem error, so you may just be able to run an fsck on the disk. It could also be a bug in the filesystem driver, or a hardware problem (possibly with the drive's cable, the hard disk controller or the motherboard. or a physical disk error that SMART isn't picking up for some reason).
 
  


Reply

Tags
ext3, filesystem, readonly


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read Only File System? Can't read superblock! haughjd Linux - Software 4 01-15-2008 09:27 AM
web server (fedora core 5) became read-only file system after i upload a file nggs8411 Linux - Server 1 03-26-2007 10:23 AM
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
md0 switched to read-only mode. (System Halts) Rian8605 Linux - Kernel 0 07-02-2006 06:26 PM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM


All times are GMT -5. The time now is 07:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration