How Can I Rectify the Fault That May Occur on a Linux ECS with an NVMe SSD Disk Attached?
Symptom
When a Linux ECS with an NVMe SSD disk attached, such as a P1 ECS, becomes faulty, you must contact the administrator to remotely rebuild the ECS again.
If automatic NVMe SSD disk attachment upon ECS startup is enabled in /etc/fstab on the faulty ECS, the system disk recovers after the ECS is created. However, the attached NVMe SSD disk does not have a file system, and automatic NVMe SSD disk attachment upon ECS startup fails to take effect. As a result, the ECS enters the emergency mode, as shown in Figure 1.
To ensure that the new ECS is functional, you must manually delete the attachment information in /etc/fstab.
If the NVMe SSD disk is faulty, data on it will be lost. The operations provided in this section are only used to restore automatic NVMe SSD disk attachment to an ECS, but not restoring the data on the disk.
Solution
- Log in to the ECS.
- Enter the password of user root to log in to the ECS.
Figure 2 Logging in to the ECS
- Run the following command to edit the /etc/fstab file:
vi /etc/fstab
- Delete the attaching information of the NVMe SSD disk and save the file.
Figure 3 Deleting the automatic attaching information
- Run the following command to restart the ECS:
- Verify that the ECS recovers and can be logged in.
Figure 4 Logging in to the ECS
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot