What Should I Do If the Forcibly Stopped Linux ECS Fails to Start Due to File System Damage?
After a Linux ECS is forcibly stopped, there is a low probability that the file system is damaged. As a result, the ECS fails to be restarted.
As shown in Figure 1, the ECS cannot be started because the file system is damaged. Forcibly stopping or restarting an ECS is highly risky because this operation may cause inconsistent metadata of the file system, leading to the file system damage.
Use the disk repair tool (fsck) delivered with the Linux OS to rectify the fault.
The following uses Figure 1 as an example, in which the affected disk partition is /dev/xvdb1.
- Enter user root password as prompted.
- Run the following command to check whether the affected disk partition has been mounted:
mount | grep xvdb1
- Run the following command to unmount the affected disk partition:
- Run the following command to rectify the fault for the file system of the affected disk partition:
fsck -y /dev/xvdb1
- Run the following command to restart the ECS to make the configuration take effect:
If the fault persists, contact the customer service personnel for technical support.