Read only file system Error
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.