Updated on 2024-03-26 GMT+08:00

Expanding Capacity for an In-use EVS Disk

Scenarios

This section describes how to expand the capacity of an In-use EVS disk on the management console. The In-use status indicates that the disk has been attached to a server. You do not need to detach the disk when expanding an In-use disk.

Constraints

  • Disk capacity can be expanded, but cannot be reduced.
  • When expanding an In-use disk, the server attached with this disk must be in the Running or Stopped state.
  • A shared disk in the In-use state cannot be expanded. To expand such a disk, you must detach it from all its servers, wait until its status changes to Available, and then expand its capacity. For more information, see Expanding Capacity for an Available EVS Disk.
  • Only some server OSs support capacity expansion of In-use disks. For servers without such support, detach the disk and then expand its capacity. Otherwise, you may need to stop and then start the server after the expansion to make the additional space available.

    Perform the following operations to check whether your server OS supports capacity expansion of In-use disks:

    1. Check your server image. Both public images and private images listed on the console support the capacity expansion of In-use disks.

      How to view: Log in to the management console. In the navigation pane on the left, click and choose Compute > Image Management Service. On the Public Images tab, view the images of the ECS image type.

    2. If your server OS does not appear in the image list, check whether it is included in Table 1.

      If yes, you can expand the disk. Otherwise, you must detach the disk and then expand its capacity. For details, see Expanding Capacity for an Available EVS Disk.

    Table 1 OSs that support the capacity expansion of In-use disks

    OS

    Version

    CentOS 8

    8.0 64-bit or later

    CentOS 7

    7.2 64-bit or later

    CentOS 6

    6.5 64-bit or later

    Debian

    8.5.0 64-bit or later

    Fedora

    24 64-bit or later

    SUSE 12

    SUSE Linux Enterprise Server 12 64-bit or later

    SUSE 11

    SUSE Linux Enterprise Server 11 SP4 64-bit

    OpenSUSE

    42.1 64-bit or later

    Oracle Linux Server release 7

    7.2 64-bit or later

    Oracle Linux Server release 6

    6.7 64-bit or later

    Ubuntu Server

    14.04 64-bit or later

    Red Hat Enterprise Linux 7

    7.3 64-bit

    Red Hat Enterprise Linux 6

    6.8 64-bit

    EulerOS

    2.2 64-bit or later

    Windows Server 2016

    Windows Server 2016 R2 Enterprise 64-bit

    Windows Server 2012

    Windows Server 2012 R2 Standard 64-bit

    Windows Server 2008

    Windows Server 2008 R2 Enterprise 64-bit

Procedure

  1. Log in to the management console.
  2. Under Storage, click Elastic Volume Service.

    The disk list page is displayed.

  3. Choose a way to expand the disk by determining whether you want to check server information first.

    • If yes, perform the following procedure:
      1. In the disk list, click the name of the to-be-expanded disk.

        The disk details page is displayed.

      2. Click the Attachments tab to view the server where the target disk has been attached.
      3. Click Expand Capacity in the upper right corner of the page.

        The expansion page is displayed.

    • If no, perform the following procedure:
      1. In the disk list, locate the row that contains the target disk and choose More > Expand Capacity in the Operation column.

        The expansion page is displayed.

  4. Set the New Capacity parameter and click Next.
  5. On the Details page, check the disk details.

    • Click Submit to start the expansion.
    • Click Previous to change the settings.

    After the configuration is submitted, go back to the disk list page.

  6. In the disk list, view the capacity of the target disk.

    When the disk status changes from Expanding to In-use and the disk capacity increases, the expansion has succeeded.

    When the status of a disk is Expanding, you are not allowed to modify the specifications of the ECS where the disk is attached.

    If the expansion fails, technical support personnel will contact you and help you handle this error. Do not perform any operations on the disk before the technical support personnel contact you. If you require that the error be handled as soon as possible, contact our technical support personnel. Disks whose capacities failed to be expanded are not billed.

  7. Log in to the server and extend the partition and file system after the disk has been expanded on the console, because previous steps only enlarge the disk space.

    The operations vary depending on the server OS.