Read only file system Error

SebinnSebastian
May 20, 2022

--

After a hard or not proper shutdown.When the system boots up.You are planning to fire a command

mkdir test

Then Linux gives you an error

Read-only file system

Here you don’t have to anything much,but to just fire some command and sit back…

sudo fsck -n -f

Reboot the server

sudo fsck <diskname(eg:- /dev/sda)>

And just give ‘yes’ to all the questions

Linux will correct all the corrupted inode and data blocks.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

SebinnSebastian
SebinnSebastian

Written by SebinnSebastian

DevOps Engineer | Redhat Certified System Administrator | K8s Administrator | AWS, Docker, Terraform, GCP

No responses yet

Write a response