Skip to main content
Change disk parameters
Last update:

Change disk parameters

Change disk type

You can only change the type of network drive — to another network or to a local network.

It is not possible to change the network disk type to another one directly — you need to create a new disk with the desired type. type.

  1. In the pool segment of the current disk:

  2. Optional: mount the created disk to the server and deactivate the previous.

  3. Optional: If you have connected the disk as a bootable (system) disk, then reboot the server.

Shrink the disk

It is not possible to shrink a local disk.

You cannot reduce the size of a network disk directly, as this may compromise the integrity of the disk's file system and data — you can create a new, smaller disk.

  1. In the current disk pool segment create a blank disk of a smaller volume.
  2. Connect the created disk to the cloud server.
  3. Boot the server into Rescue mode.
  4. Transfer data from the old disk to the new one — copy the files manually or use a utility program dd.
  5. Optional: unplug the old disk from the server and erase the disk.

Enlarge the disk

You cannot enlarge the local disk directly — you can reconfigure of the cloud server to which it is connected. The local disk will expand automatically.

You can enlarge the network disk by following the instructions below. After enlarging, you must prepare the disk for operation.

Another way to increase disk space on a cloud server is to additional disk connection.

For your information

Before performing work with partitions and file system, we recommend creating a disk image, snapshot or other disk from the disk to avoid data loss in case of an error.

  1. In control panel go to Cloud platformDisks.

  2. On the menu. of the disk, select Resize.

  3. Specify a new value for the disk size in GB, take into account maximum disk size limits. Press Save.

  4. Prepare the disk for use:

    • if you enlarged the boot disk, reboot the cloud server or expand the disk using the instructions below;
    • if you have enlarged an additional disk, expand the disk using the instructions below.

Prepare the disk for operation after enlarging

If you have enlarged the disk, you should definitely enlarge it — the order of configuration depends on the operating system.

  1. Connect to the server.

  2. Open a list of all disks connected to the server:

    lsblk

    Example answer:

    NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 8G 0 disk
    ├─sda1 8:1 0 8G 0 part /
    └─sda14 8:14 0 8M 0 part
    sdb 8:16 0 7G 0 disk
  3. Expand the disk (using growpart) and run the file system change (via resize2fs):

    growpart /dev/<sdb> 1
    resize2fs /dev/<sdb1>

    Specify <sdb> — disk that needs to be expanded.

Change the number of IOPS

The number of IOPS can only be changed for SSD Universal v2 network drives in the statuses AVAILABLE and IN-USE. There is no limit to the number of IOPS changes.

  1. In control panels go to Cloud platformDisks.
  2. Open the disk page → tab Settings.
  3. In the field IOPS click Modify.
  4. Specify the new number of IOPS.
  5. Click Confirm changes.