Why Does the Disk Attachment of a Linux ECS Fail After I Modify the ECS Specifications?
Scenarios
After you modify specifications of a Linux ECS, disk attachment may fail. You need to check the disk attachment after you modify the specifications.
Procedure
- Log in to the ECS as user root.
- Run the following command to view the disks attached before specifications modification:
As shown in Figure 1, the ECS has three disks attached: /dev/vda, /dev/vdb, and /dev/vdc.
- Run the following command to view disks attached after specifications modification:
As shown in Figure 2, only one disk /dev/vda is attached to the ECS.
- Check whether the number of disks obtained in step 3 is the same as that obtained in step 2.
- If the numbers are the same, the disk attachment is successful. No further action is required.
- If the numbers are different, the disk attachment failed. In this case, go to step 5.
- Run the mount command to attach the affected disks.
For example, run the following command:
mount /dev/vdb1 /mnt/vdb1
In the preceding command, /dev/vdb1 is the disk to be attached, and /mnt/vdb1 is the path for disk attachment.
Ensure that /mnt/vdb1 is empty. Otherwise, the attachment will fail.
- Run the following commands to check whether the numbers of disks before and after specifications modifications are the same:
df -h| grep '/dev/'
- If the numbers are the same, no further action is required.
- If the numbers are different, contact customer service.
As shown in Figure 3, the numbers of disks before and after specifications modifications are the same. The disks are /dev/vda, /dev/vdb, and /dev/vdc.
Modifying Specifications FAQs
- How Can I Modify ECS Specifications?
- What Should I Do If My Specifications Modification Request Failed to Submit?
- What Should I Do If Executing a Driver Installation Script Failed on an ECS Running CentOS 5?
- What Should I Do If Executing a Driver Installation Script Failed When I Attempted to Modify the Specifications of a Linux ECS?
- Why Do the Disks of a Windows ECS Go Offline After I Modify the ECS Specifications?
- Why Does the Disk Attachment of a Linux ECS Fail After I Modify the ECS Specifications?
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.
Chatbotmore