Error: Unable to remotely log in to the Linux CVM via SSH. After logging in to the CVM via VNC, you can check the system start-up failure and view the prompt message "Welcome to emergency mode".
/etc/fstab is not properly configured.
For example, you've configured the auto-attaching of disk based on device name in the
/etc/fstab file. If the device name is changed when the CVM restarts, this configuration will cause the system to fail to start up normally.
See Steps to repair the
/etc/fstab configuration file. Then, restart the CVM to verify the repaired file.
You can access the instance in the following 2 methods for troubleshooting:
/etc/fstabfile to the
/homedirectory, for example:
cp /etc/fstab /home
#to comment out this configuration.
If you cannot determine the error, it is recommended that you comment out the configurations of all attached disks except the system disks, and then configure the file as instructed in Step 8 after the server recovers.
Restart the instance through the console. For more information, see Restarting Instances.
chrootcommands as instructed in Using rescue mode to repair system, and make sure that you have entered the target system.