What Should I Do If the Disk of a Linux HECS Becomes Offline After the HECS Specifications Are Modified?
Scenarios
After Linux HECS specifications are modified, disk mounting may fail. Therefore, check disk mounting after specification modification. This section describes how to check disk mounting after HECS specifications are modified.
Procedure
- Log in to the HECS as user root.
- Run the following command to view the disks mounted before specification modification:
As shown in Figure 1, the HECS has three disks attached: /dev/vda, /dev/vdb, and /dev/vdc.
- Run the following command to view disks mounted after specification modification:
As shown in Figure 2, only one disk /dev/vda is mounted to the HECS.
- 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 mounting is successful. No further action is required.
- If the numbers are different, the disk mounting failed. In such a case, go to step 5.
- Run the mount command to mount the affected disks.
For example, run the following command:
mount /dev/vbd1 /mnt/vbd1
In the preceding command, /dev/vbd1 is a disk partition, and /mnt/vbd1 is the mount point to mount the partition.
Ensure that /mnt/vbd1 is empty. Otherwise, the mounting will fail.
- Run the following commands to check whether the numbers of disks before and after specification modification 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 specification modification are the same. The disks are /dev/vda, /dev/vdb, and /dev/vdc.



Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.