A customer recently allocated an Intranet VM. The memory and space of the system are 200 GB hard disk and 8 GB memory. The configuration should be sufficient.

-bash: cannot create temp file for here-document: Read-only file system

Even uninstalling the software ends up making mistakes.

/dev/vda2 = / ro /vda2 = / ro /vda2 = / ro /vda2 = / ro /vda2 = / ro /vda2 = / ro /vda2 = / ro /vda2 = / ro

After checking and checking, the feedback result was due to abnormal shutdown, and the system only mounted disks. Finally, run the system command to restore the hard disk and restart the system.

fsck.ext4 -y /dev/vda2
Copy the code

After the server up occasionally will be repeated hard disk only read the error, and there is no abnormal shutdown during this question, the reason for the problem has not been understood. It is not clear whether this command will cause other problems. Use this command with caution in the production environment.