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

  1. Go to the Server Overview tab.
  2. Next to the Disk metric, click Resize.
  3. Enter the new desired size in GB. You can only increase size, never decrease.
  4. Click Confirm.

The Autonomous Process

CloudAIPilot handles this via a safe background operation:

  1. It calls the cloud provider (e.g., AWS) to expand the Elastic Block Store (EBS) volume.
  2. It commands the Post-Quantum Agent on the server to run growpart on the partition.
  3. It runs resize2fs to expand the filesystem to fill the new partition space.
  4. 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.*


Related Articles