If you need more storage space for your instance, you can expand the storage. The storage volume is a network-based block device attached to your instance.
Resize the storage volume in Customer Portal
- Log in to your Leaseweb Customer Portal account.
- From the menu select Public Cloud, choose your instance and click Manage instance.
- Click Increase storage and choose the new amount
- Click Confirm to update the storage size.
NB. It could occur that the filesystem is not expanded automatically and therefor the additional storage is not visible to your instance (Operating System). In this case make sure to expand the filesystem (see: Expanding the filesystem)
Resize the storage volume using the API
Expanding an ext4 filesystem
To expand an ext4 filesystem use the resize2fs command.
#resize2fs /dev/disk/by-id/scsi-0QEMU-...
To view the filesystem of the main partition use the df command.
df -h -x tmpfs
Expanding a XFS filesystem
To expand a XFS filesystem use the xfs_growfs tool.
#xfs_growfs /mnt/yourmountpoint
To view the filesystem of the main partition use the df command.
df -h -x tmpfs