Storage full
Storage full can occur when users generate many files, transfer files, or perform other storage-intensive tasks. This document provides guidance to help you troubleshoot this.
Check disk usage
When encountering a storage full, the first step is to check your container’s disk usage. You can use the df -h
command to display a summary of disk usage.
Example output:
Key areas to check
Container Disk Usage: The primary storage area for your container is mounted on the overlay
filesystem. This indicates the container’s root directory.
You can use the command du -sh .
to check the space usage of the current directory. The default volume of container volume or network volume is mounted at /workspace
, You can check the usage with the following example::
Identifying Large Files: To identify the top 10 largest files in your /workspace
, you can run the following command:
Removing files and directories
Once you’ve identified large files or directories that are no longer needed, you can remove them to free up space.
This will permanently delete the file, folder. Use with caution.
Additional storage
If your Pod needs more than 20GB of storage, consider using a network volume. For more information, see Create a network volume, or refer to this blog post.