Disk Resize Workflow and Caveats
Overview
Running out of disk space is a primary cause of database corruption. CloudAIPilot makes resizing disks straightforward, but it requires careful coordination between the cloud provider API and the Linux filesystem.
How to Resize a Disk
- Go to the Server Overview tab.
- Next to the Disk metric, click Resize.
- Enter the new desired size in GB. You can only increase size, never decrease.
- Click Confirm.
The Autonomous Process
CloudAIPilot handles this via a safe background operation:
- It calls the cloud provider (e.g., AWS) to expand the Elastic Block Store (EBS) volume.
- It runs
growparton the partition to expand the filesystem to use the new disk space. - It runs
resize2fsto expand the filesystem to fill the new partition space. - The new size reflects in the dashboard immediately.
*Note: Most modern cloud providers allow online resizing with zero downtime. If a provider requires a reboot, CloudAIPilot will generate an Approval Card asking for permission to reboot the server.*