LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-06-2015, 04:09 AM   #1
zolainfo
LQ Newbie
 
Registered: Jun 2015
Posts: 18

Rep: Reputation: Disabled
Why my Linux server ext3 filesystem go read-only?


hi,
i have redhat 5.8 on 32bits
Why my Linux server ext3 filesystem go read-only?
 
Old 07-06-2015, 04:10 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
probably the filesystem was corrupted. check /var/log and dmesg about related messages
 
Old 07-06-2015, 04:39 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by zolainfo View Post
hi,
i have redhat 5.8 on 32bits
Why my Linux server ext3 filesystem go read-only?
Some more information would be useful.

Which filesystem?
How do you know it's readonly?
Is the server in multi-user mode or does it stop in single-user?
And generally the context.
 
Old 07-06-2015, 05:53 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by zolainfo View Post
Why my Linux server ext3 filesystem go read-only?
Probably because you told it to - check fstab.
 
Old 07-06-2015, 06:18 AM   #5
zolainfo
LQ Newbie
 
Registered: Jun 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
when i reboot the server my file system are not in read-only!!!!!!!!
 
Old 07-06-2015, 07:59 PM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by zolainfo View Post
when i reboot the server my file system are not in read-only!!!!!!!!
Well - if they are not read-only, everything is fine, right?
Or perhaps they are read-only, but then please tell us more.
  • All filesystems?
  • The root filesystem?
  • A different filesystem?
  • How do you know your filesystem(s) is/are read-only?
  • How far does the boot process go - single user? multi-user?
  • Any error message?
  • What's the output of the mount command (no parameters - just type mount).

And whatever context you can provide.
 
Old 07-07-2015, 03:32 AM   #7
zolainfo
LQ Newbie
 
Registered: Jun 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
hi berndbausch and thanks for your reply,

-All filesystems? ===> NO
-The root filesystem? ===>NO
-A different filesystem?===> YES
-How do you know your filesystem(s) is/are read-only?===> when i attempt to open Oracle database i get error that the file system where the alert log is read-only and the database is not open
-How far does the boot process go - single user? multi-user? ===> multi user
- What's the output of the mount command (no parameters - just type mount).===> mount show that all partitions are rw (but don't forget that i rebooted the server and i haven't' yet the read-only disk).

regards
 
Old 07-07-2015, 03:58 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
have you checked your logfiles already? Do you know the information you gave is not enough to find the reason.
 
Old 07-07-2015, 07:04 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by zolainfo View Post
- What's the output of the mount command (no parameters - just type mount).===> mount show that all partitions are rw (but don't forget that i rebooted the server and i haven't' yet the read-only disk).
You haven't yet the read-only disk? Perhaps this is the problem - it might not be mounted at all, which causes Oracle's error message.

A few suggestions what you can do, easy actions first:
  • Give us the complete and precise error message. Perhaps you are interpreting it wrongly.
  • Is the filesystem mounted? If not, mount it.
  • Check if it's mounted rw and if the error still occurs
  • As root, try to create a file on that filesystem. If this works, the filesystem is not read-only.
  • Are you running Red Hat or a Red Hat clone? Perhaps the problem is related to SELinux. To check, set SELinux from enforcing to permissive and try again. The command to do that is setenforce.
  • Check permissions of the Oracle alert log
  • Can you configure Oracle to produce more verbose error messages? If yes, do it and tell us what Oracle says.
 
  


Reply


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
Read and Write to Ext3 Filesystem from Windows onto Linux lennysokol Linux - General 34 01-22-2014 09:07 AM
EXT3-fs error Remounting filesystem read-only ostapv Linux - Server 4 01-11-2013 01:02 PM
Mount dirty ext3 filesystem as read only during fsck. Is it possible ? t0x Linux - General 2 05-06-2009 08:18 AM
ext3 filesystem read/write in xp babysparrow Linux - General 18 11-29-2006 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:36 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