LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-18-2014, 12:06 PM   #1
linux2uday
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Rep: Reputation: Disabled
Unhappy Read-only Root Filesystem - Linux


HI Friends,

Automatically root filesystems became read only, after reboot it working fine what is the problem how to solve this permently.
 
Old 02-18-2014, 12:34 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
do you use ssd disk? my ssd became read-only and next reboot it stopped working.
 
Old 02-19-2014, 06:20 AM   #3
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
Check your /var/log/messages.
Had same issue having problem with disk, then EXT journal daemon failed and remount FS as read only.
 
Old 02-20-2014, 11:33 AM   #4
Laedrus
LQ Newbie
 
Registered: May 2007
Location: Brazil
Distribution: Debian and RHEL
Posts: 7

Rep: Reputation: 0
A good way to know if the disk is dying is with SmartMonTools.

Code:
smartctl -t short /dev/sda (sdX)
smartctl -l selftest
If that comes up good, try "-t long", it will take probably half a day, but a much more accurate diagnose.

If you find anything bad this way, think about replacing the disk before it's too late.
 
Old 02-23-2014, 04:44 AM   #5
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
Quote:
If you find anything bad this way, think about replacing the disk before it's too late.
I would backup data first..
 
Old 02-23-2014, 10:09 AM   #6
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Try a live CD and see if you are able to write on the root partition.
Hope this helps.
 
Old 02-23-2014, 10:22 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
The kernel changes file systems to read-only when it detects an error on them so yooy's posts advising to back up data is good advice.
 
  


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
RedHat Linux loads root as read only filesystem sgawade Linux - Kernel 2 01-23-2012 08:01 AM
[SOLVED] ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir Aquarius_Girl Linux - Newbie 10 12-29-2011 07:11 AM
[SOLVED] how can i remount root filesystem as read/write after modify readonly-root file jcwkyl Linux - Newbie 3 12-21-2010 10:40 PM
root filesystem keeps going read only dappa_don Linux - Server 5 05-26-2009 08:47 AM
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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