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:
- Confirm the partition where the root file system is located by df -h
- Back up the root directory/important data, which can be copied to the U disk
- 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