Expanding an In-use Disk
Scenarios
Currently, disk capacities can be expanded, but cannot be reduced.
Expanding an In-use disk means that the to-be-expanded disk has been attached to a server.
- During such an expansion, the server containing the to-be-expanded disk must be in the Running or Stopped state.
- Shared disks must be expanded when they are in the Available state. For details, see Expanding an Available Disk.
- Currently, only some server OSs support the expansion of In-use disks. Therefore, ensure that your server OS meets the requirements for expanding In-use disks before operation. Table 1 lists the server OSs, including the OS images listed on the Public Images page of the IMS console and others, that support In-use disk expansion.
If your server OS does not support capacity expansion of In-use disks, detach the disk and then expand the disk capacity. Otherwise, you may need to stop the server and then start it to make the expansion takes effect.
Table 1 Supported OSs OS
Version
CentOS
7.4 64bit
7.3 64bit
7.2 64bit
6.8 64bit
6.7 64bit
6.5 64bit
Debian
8.6.0 64bit
8.5.0 64bit
Fedora
25 64bit
24 64bit
SUSE
SUSE Linux Enterprise Server 12 SP2 64bit
SUSE Linux Enterprise Server 12 SP1 64bit
SUSE Linux Enterprise Server 11 SP4 64bit
SUSE Linux Enterprise Server 12 64bit
OpenSUSE
42.2 64bit
42.1 64bit
Oracle Linux Server release
7.3 64bit
7.2 64bit
6.8 64bit
6.7 64bit
Ubuntu Server
16.04 64bit
14.04 64bit
14.04.4 64bit
Windows
Windows Server 2008 R2 Enterprise 64bit
Windows Server 2012 R2 Standard 64bit
Windows Server 2016 Standard 64bit
Redhat Linux Enterprise
7.3 64bit
6.8 64bit
Procedure
- Log in to the management console.
- Choose Dedicated Storage Service > Disks.
The disk list page is displayed.
- Determine whether to view the server information before expanding the disk.
- If you need to view the server information, perform the following procedure:
- If you do not need to view the server information, perform the following procedure:
- In the disk list, locate the row that contains the target disk and choose
The expansion page is displayed.
in the Operation column.
- In the disk list, locate the row that contains the target disk and choose
- Set the Add Capacity (GB) parameter as prompted and click Next.
- On the Details page, check the disk information again.
- If you do not need to modify the specifications, click Submit to start the expansion.
- If you need to modify the specifications, click Previous to modify parameters.
After the specifications are submitted, the disk list page is displayed.
- In the disk list, view the capacity of the expanded disk.
When the disk status changes from Expanding to In-use, the additional capacity has been added to the disk and the expansion succeeded.
If the expansion fails, customer service personnel will contact you and help you handle this error. Do not perform any operations on the disk before the customer service personnel contact you. If you require that the error be handled as soon as possible, contact our customer service personnel. The disk will no longer be charged once its status changes to Expansion failed.
- After the capacity expansion has succeeded, perform subsequent operations for the additional space.
The operation method varies depending on the server OS.
- For Windows OSs, see Performing Post-Expansion Operations for a Windows Disk.
- For Linux OSs,
- If the fdisk partitioning tool will be used, see Performing Post-Expansion Operations for a Disk in Linux (fdisk), Performing Post-Expansion Operations for a SCSI Data Disk in Linux (fdisk), or Performing Post-Expansion Operations for a System Disk in Linux (fdisk).
- If the parted partitioning tool will be used, see Performing Post-Expansion Operations for a Disk in Linux (parted).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot