Troubleshooting Container with Full Disk Event

In case a dedicated disk mounted as a persistent storage medium of a container runs out of storage space, an emergency action is needed.

Proceed as follows to solve the problem with resizing the storage medium. Run all listed commands as root on the container host.

Procedure: Resize Storage Medium
  1. Increase the disk size. Actions to take depend on the installation scenario.

  2. If the disk is partitioned (for example, there is a /dev/vdb1 for disk /dev/vdb), run the following commands:

    Run the following commands:

    1. parted /dev/vdb

    2. (parted) print

    3. (parted) resizepart NUMBER 100% where NUMBER is the partition number shown by print command (for example, 1 if /dev/vdb1)

    4. (parted) quit

  3. Resize the filesystem. For example, for an XFS filesystem, run the command:

    xfs_growfs /dev/vdb1

After completing the procedure, an XFS filesystem should be using all space available on the disk.