Unix/Linux Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

root filesystem goes readonly

Linux


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-07-2011
robo robo is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 7 June 2017, 8:42 AM EDT
Location: leeds, UK
Posts: 108
Thanks: 12
Thanked 4 Times in 4 Posts
root filesystem goes readonly

I see this when tried to create a dir using root

fstab entries are pretty normal
tried to remount with rw but it is still the same



Code:
block device /dev/sda2 is write-protected

---------- Post updated at 04:57 PM ---------- Previous update was at 03:51 PM ----------

fstab entry

Code:
LABEL=/                 /                       ext3    defaults        1 1

dmesg

Code:
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
audit(1317999399.316:2): user pid=16747 uid=0 auid=4294967295 msg='avc:  0 AV en                 tries and 0/512 buckets used, longest chain length 0
'
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
ext3_abort called.
EXT3-fs error (device sda2): ext3_remount: Abort forced by user
end_request: I/O error, dev fd0, sector 0

---------- Post updated at 04:58 PM ---------- Previous update was at 04:57 PM ----------

also treid


Code:
mount -o remount,rw /

---------- Post updated at 05:00 PM ---------- Previous update was at 04:58 PM ----------

release

Code:
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)

uname -a

Code:
Linux hostname 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux

Sponsored Links
    #2  
Old Unix and Linux 10-07-2011
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 17 August 2017, 6:53 PM EDT
Location: Saskatchewan
Posts: 22,327
Thanks: 1,115
Thanked 4,214 Times in 3,897 Posts
What is your disk device? Some flash devices have a 'read only' tab.

Also, check your dmesg. Disk errors can force a filesystem to go read-only.
Sponsored Links
    #3  
Old Unix and Linux 10-07-2011
verdepollo's Unix or Linux Image
verdepollo verdepollo is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 18 July 2017, 2:01 PM EDT
Location: Mexico
Posts: 725
Thanks: 11
Thanked 105 Times in 102 Posts
If the disk was in rw mode and it suddently went ro, then I suspect you've hit this bug which is pretty common on RHEL4:

https://bugzilla.redhat.com/show_bug.cgi?id=197158
    #4  
Old Unix and Linux 10-08-2011
robo robo is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 7 June 2017, 8:42 AM EDT
Location: leeds, UK
Posts: 108
Thanks: 12
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by Corona688 View Post
What is your disk device? Some flash devices have a 'read only' tab.

Also, check your dmesg. Disk errors can force a filesystem to go read-only.
i checked the dmesg found a journal error which i dont rememmber Linux now

---------- Post updated at 07:47 PM ---------- Previous update was at 07:46 PM ----------

Quote:
Originally Posted by verdepollo View Post
If the disk was in rw mode and it suddently went ro, then I suspect you've hit this bug which is pretty common on RHEL4:

https://bugzilla.redhat.com/show_bug.cgi?id=197158
oh thank you verdepollo
Sponsored Links
    #5  
Old Unix and Linux 10-10-2011
robo robo is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 7 June 2017, 8:42 AM EDT
Location: leeds, UK
Posts: 108
Thanks: 12
Thanked 4 Times in 4 Posts
solved!!

no opion but rebooted and
ran fsck that fixed this Linux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Resizing the Root Filesystem gowthamakanthan Solaris 4 05-03-2010 01:56 AM
Root filesystem filling up! jamie_collins UNIX for Dummies Questions & Answers 4 11-09-2009 03:20 PM
Root Filesystem tirupathiraju_t Solaris 5 04-07-2009 09:03 AM
/root filesystem size is full chomca Linux 6 06-04-2006 06:36 PM
Mounted Root Filesystem jimthompson UNIX for Advanced & Expert Users 1 01-17-2006 02:59 PM



All times are GMT -4. The time now is 01:05 AM.