Yes. Increasing the virtual disk size at the hypervisor level doesn't automatically expand the Linux partition or filesystem inside your VPS.
The additional space may be available to the virtual machine but remain unallocated until you expand the relevant storage layers.
Here's what to check:
- Verify the virtual disk size: Run
lsblk to see whether Linux recognizes the expanded disk.
- Inspect partitions: Use
fdisk -l or parted -l to identify available unallocated space.
- Check LVM configuration: If your VPS uses LVM, you may need to expand the physical volume and logical volume.
- Expand the partition: Use an appropriate partition management tool to extend the correct partition.
- Resize the filesystem: Use the correct resizing utility for your filesystem, such as
resize2fs for supported ext4 filesystems or xfs_growfs for XFS.
- Verify the result: Run
df -h to confirm that the additional space is available.
Before changing partitions, take an independent backup and verify the disk layout. Expanding the wrong partition or using an incorrect filesystem command can cause serious data loss.