Kylin file system read-only repair solution

Problem Description:

The running server operating system freezes, the process is abnormal, creating and deleting files prompts Read-only file system; creating a new directory and other chmod operations prompts Read-only file system.

problem causes:

Unusual write operations or other problems cause the root filesystem to be read-only

Solution:

  1. Confirm the partition where the root file system is located by df -h

  1. Back up the root directory/important data, which can be copied to the U disk
  2. Restart the machine, the system will stop at the command line interface, at this time fsck /dev/sdx

Enter y according to the prompt to complete the file system check, restart the machine, and the machine enters the system normally

 

Guess you like

Origin blog.csdn.net/taoxicun/article/details/130871578