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 details, see the official document of the corresponding OS.

    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.

Prerequisites

Disk data has been backed up using CBR or snapshots. For details about backups, see Managing EVS Backups. For details about snapshots, see Creating a Snapshot.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select the desired region and project.

  3. Under Storage, click Elastic Volume Service.

    The disk list page is displayed.

  4. 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 click Expand Capacity in the Operation column.

        The expansion page is displayed.

  5. Set the New Capacity parameter and click Next.

  6. 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.

  7. 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.

    Note

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

    Note

    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.

  8. 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.