Information for: DEVELOPERS   PARTNERS

Managing disk storage space

If your Cloud Platform application uses its set quantity of allocated disk storage or exceeds its total number of allotted inodes, your application’s database will stop working, which will cause your application to stop working. You can examine your disk storage availability from the command line.

Note

  • Cloud Platform Enterprise subscribers
    Acquia manages your servers for you, including your disk storage allocation. For more information, see the Acquia Cloud Platform Enterprise Product Guide.
  • Cloud Platform Free subscribers
    Your disk storage allocation cannot be changed. If you need additional disk storage, you will need to upgrade your subscription. For more information, see Managing disk storage for Cloud Platform Free applications.
  • Cloud Platform Professional subscribers
    Use the procedure following this note.

If you are approaching your storage limit, you should increase the amount of storage available, if the problem is caused by total disk usage, or reduce the number of files if the problem is caused by inode usage.

Additional disk storage may have an additional cost; for details, see About Cloud Platform Billing: Disk storage. In addition, increasing your disk storage allocation will make all sites on your server unavailable for 30 minutes or even longer (depending on the size of the disk, how many files and how much data you have) while the larger disk volume is provisioned and your data is transferred from the old disk to the new one. As a rough estimate, the process may take approximately one second for each 10 MB on your existing disk, plus approximately five minutes of additional setup time.

To increase your application’s storage allocation, complete the following steps:

  1. Sign in to Cloud Platform, select your application and environment, and then click Servers in the left menu.

  2. Click Resize Disk.

  3. Select the amount of storage you want, check the box to confirm that all sites on the server will be down during the upsizing, and click Upgrade.

    Upgrade storage

Note

You can only increase your storage allocation on the Servers page, and cannot decrease it.

Inode usage in your filesystem

In Unix-style file systems, inodes are data structures that describe files and directories, but do not contain the actual data of the file. The maximum number of inodes—thus the maximum number of files—for your servers is set when Acquia provisions your hardware.

In most cases, servers run out of file space due to a small number of files that consume all available storage space on the disk. However, it is possible to create a large enough number of tiny files that exceed the total number of inodes your hardware can support. If this situation occurs, your application will experience data loss and potentially website downtime until the total number of inodes is reduced.

If Acquia Support notifies you of a disk-full issue, you should review both the space used in your filesystem and your inode usage.

Acquia may also provide you with reports similar to the following example to help you determine where to remove files:

Inode usage on [web-0000]:
Filesystem                          Inodes IUsed IFree IUse% Mounted on
/dev/xvda1                            640K  222K  419K   35% /
tmpfs                                 471K     1  471K    1% /dev/shm
/dev/xvdb                             979K  320K  659K   33% /mnt
  • Inodes: the total number of inodes available in this region of the filesystem
  • IUsed: the number of inodes in use in this area
  • IFree: the number of additional inodes needed to completely fill this region of the filesystem
  • IUse%: the percentage of available inodes currently in use
  • Mounted on: the path to this region of the filesystem