Published by exdone
Posted on June 28, 2018
The Filesystem will go into a read only state if there is some type of FS corruption found. The corruption could be due to a failing hard drive or the FS system just encountered a unknown error. There are a few ways we can attempt to repair the corruption.
-We can reboot the server. During the reboot process, The system will attempt to auto recover the file system journal.
-We could take a more drastic approach and run fsck . But keep in mind , this could run for hours depending on the partition size. This also requires the mount point to be unmounted. In our case the issue was the root partition. So we can only run this before the root partition has been mounted.
Boot message ::
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.