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. For how to view the disk status, see Viewing EVS Disk Details.
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:
- 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.
- 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
- Check your server image. Both public images and private images listed on the console support the capacity expansion of In-use disks.
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 (OBT).
Procedure
- Log in to the management console.
- Under Storage, click Elastic Volume Service.
The disk list page is displayed.
- Choose a way to expand the disk by determining whether you want to check server information first.
- If yes, perform the following procedure:
- If no, perform the following procedure:
- 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.
- In the disk list, locate the row that contains the target disk and click Expand Capacity in the Operation column.
- Set the New Capacity parameter and click Next.
- In the displayed Note dialog box, read the expansion notice and click Expand Capacity.
- 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.
- 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.
- 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.
- In Windows, see Extending Disk Partitions and File Systems (Windows Server 2008).
- In Linux, see Partition and File System Extension Preparations (Linux).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.