The instruction is relevant in case of purchase of additional storage space for services at the Contabo location.

Connect to the virtual server. Then we use the command to install the necessary software.

apt install cloud-utils -y

We get information about the used section of the system. In our example (and as a rule, on all Contabo VPS servers), this is sda3

mount | grep ' / '

We use commands to expand the drive.

sudo growpart /dev/sda 3
sudo resize2fs /dev/sda3

In both cases, the digit »3» denotes the drive partition used. Replace with your value if necessary.

Last updated