LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Read-only Root Filesystem - Linux (https://www.linuxquestions.org/questions/linux-server-73/read-only-root-filesystem-linux-4175495395/)

linux2uday 02-18-2014 12:06 PM

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.

yooy 02-18-2014 12:34 PM

do you use ssd disk? my ssd became read-only and next reboot it stopped working.

voleg 02-19-2014 06:20 AM

Check your /var/log/messages.
Had same issue having problem with disk, then EXT journal daemon failed and remount FS as read only.

Laedrus 02-20-2014 11:33 AM

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.

yooy 02-23-2014 04:44 AM

Quote:

If you find anything bad this way, think about replacing the disk before it's too late.
I would backup data first..

honeybadger 02-23-2014 10:09 AM

Try a live CD and see if you are able to write on the root partition.
Hope this helps.

catkin 02-23-2014 10:22 AM

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.


All times are GMT -5. The time now is 01:42 PM.