Change cloud server disk parameters
Change disk type
You can only change the type of a network volume — to another network or a local one.
To another network
To a local
It is not possible to change the network volume type to another one directly — you need to create a new disk with the required type.
-
In the current disk's pool segment:
- create a disk image;
- or detach the current disk from the cloud server and create a new disk from it.
-
Optional: attach the created disk to the server and detach the previous one.
-
Optional: if you attached the disk as a boot (system) disk, then reboot the server.
Reduce disk size
It is not possible to reduce a local disk.
You cannot reduce the size of a network volume directly, as it may compromise the integrity of the disk's file system and data — you can create a new, smaller disk.
- In the current disk's pool segment, create an empty disk of a smaller size.
- Attach the created disk to the cloud server.
- Boot the server in Rescue mode.
- Transfer data from the old disk to the new one—copy files manually or use the
ddutility. - Optional: detach the old disk from the server and delete the disk.
Increase disk size
It is not possible to increase a local disk directly — you can change the configuration of the cloud server it is connected to. The local disk will expand automatically.
You can increase a network volume by following the instructions below. After increasing, you must prepare the disk for use.
Another way to increase disk space on a cloud server is to attach an additional disk.
Before working with partitions and the file system, we recommend creating a disk image, snapshot, or another disk from this disk to avoid data loss in case of an error.
Control panel
OpenStack CLI
-
In the control panel, click Products in the top menu and select Cloud Servers.
-
Go to the Disks section.
-
Open the disk page → Settings tab.
-
In the Size field, click .
-
Enter the new disk size in GB; keep in mind the disk maximum size limits.
-
Click Save.
-
Prepare the disk for use:
- if you have increased the boot disk, reboot the cloud server or expand the disk according to the instructions below; ;
- if you have increased an additional disk, expand the disk according to the instructions below.
Preparing the disk for use after increasing
If you have increased a disk, you must expand it — the configuration steps depend on the operating system.
Linux
Windows
-
Open the list of all disks connected to the server:
lsblkExample output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 8G 0 disk├─sda1 8:1 0 8G 0 part /└─sda14 8:14 0 8M 0 partsdb 8:16 0 7G 0 disk -
Expand the disk (using
growpart) and initiate the file system change (usingresize2fs):growpart /dev/<sdb> 1resize2fs /dev/<sdb1>Specify
<sdb>— the disk to be expanded.
Change IOPS count
You can only change the IOPS count for a network volume of the SSD Universal v2 or SSD Fast v2 type that is in the AVAILABLE or IN-USE status. There is no limit on the number of IOPS changes.
- In the control panel, click Products in the top menu and select Cloud Servers.
- Go to the Disks section.
- Open the disk page → Settings tab.
- In the IOPS field, click Change.
- Specify the new IOPS count.
- Click Confirm changes.