When you upgrade your VPS plan (for example increasing disk size), the virtual disk becomes larger — but your operating system may still show the old partition size until you extend the partition and filesystem inside the VPS.
This article shows the typical steps for Linux and Windows. If you are not comfortable with disk operations, take a backup first.
The exact commands depend on your partition layout. The most common setup is one main partition (e.g. /dev/vda1 or /dev/sda1).
lsblk
df -h
Identify:
/dev/vda),1),If growpart is available:
sudo growpart /dev/vda 1
If growpart is not installed, install cloud-utils (package name depends on the distribution) or use your distribution’s partitioning tools.
For ext4:
sudo resize2fs /dev/vda1
For XFS (run against the mount point, often /):
sudo xfs_growfs /
lsblk
df -h
With LVM, the steps differ (PV resize + LV extend + filesystem resize). Use the layout from lsblk to confirm whether LVM is in use.
Note: “Extend Volume” may be disabled if the unallocated space is not adjacent to the partition. In that case, you may need a different partition layout approach.