Home Directory Cleanup Guide
Overview
Home directories on ASU supercomputers have a 100 GiB limit, and unfortunately, there’s no option to expand them. For additional storage, we recommend using scratch or project storage.
If your home directory becomes full, you’ll encounter errors such as:
No space left on devices
When this happens, you may also be unable to create new sessions from the web portal. However, SSH access is not affected by home directory capacity, and all the commands in this guide assume you are working via SSH. For help connecting with SSH, refer to our Connecting to the Supercomputers with SSH guide.
When this happens, you’ll need to either delete unnecessary files or move them to a different storage system. Here’s how to check for space usage and address common issues.
Identifying Large Files and Directories
To see which files or directories are taking up space, use the command:
gdu ~
gdu (Go Disk Usage) is a fast and user-friendly tool for analyzing disk usage. Once in gdu:
Use the arrow keys to navigate up and down the list or into directories.
Press d to delete a file or directory directly from the interface.
Press q to quit
For more details on gdu
, visit its GitHub page.
Alternatively, you can use:
ncdu ~
ncdu
(ncurses Disk Usage) offers similar functionality, though it may run a bit slower.
Common Space-Consuming Applications and Solutions
Mamba
mamba
, the Python package manager, stores temporary files, cached tarballs, and environments in your home directory. To free up space:
Remove any unused environments:
Clean up unnecessary packages, tarballs, and cache:
pip
We recommend using mamba
over pip
for Python package management whenever possible. For more information, refer to our Python Package Installation Comparison.
However, if you must use pip
, it often creates cache files in ~/.cache/pip
. These files can be safely removed with:
Hugging Face
Hugging Face libraries frequently download large models to your home directory, storing them in ~/.cache/huggingface
by default. To free up space and relocate these files to scratch storage:
Move the cache directory:
Update your shell to reflect this change:
Reload your shell: