Updated on 2023-05-29 GMT+08:00

Verifying the ECS Expansion

After the capacity of an ECS is expanded, you can view the ECS specifications to check whether the capacity expansion is successful.

Procedure

  1. View the ECS specification.

    1. Log in to HUAWEI CLOUD management console.
    2. Choose Service List > Computing > Elastic Cloud Server.
    3. In the ECS list, locate the row that contains the target ECS, check whether the ECS specification is successfully changed.

  2. Check disk attachment status.

    After the specification is modified, disk attachment may fail. Therefore, check disk attachment after specification modification. If disks are properly attached, the specification modification is successful.
    1. Log in to the ECS as user root.
    2. Run the following command to view the disks attached before specification modification:

      fdisk -l| grep 'Disk /dev/'

    3. Run the following command to view disks attached after specification modification:

      df -h| grep '/dev/'

    4. Check whether the number of disks in 2.b and 2.c is the same.
      • If yes, the disk attachment is successful. No further action is required.
      • If no, the disk attachment failed. In such a case, go to 2.e.
    5. Run the mount command to attach the disks.

      Example:

      mount /dev/vbd1 /mnt/vbd1

      In the preceding command, /dev/vbd1 is the disk to be attached, and /mnt/vbd1 is the path for disk attachment.

      Ensure that /mnt/vbd1 is empty. Otherwise, the attachment will fail.

      Run the following commands to check whether the number of disks in 2.b and 2.c are the same:

      fdisk -l| grep 'Disk /dev/'

      df -h| grep '/dev/'

      • If they are the same, no further action is required.
      • If no, contact customer service for technical support.