Data
Storage¶
Storage Overview¶
There are four complementary filesystems where you can store your data.
| Name | Path | Quota | Backup | Purged | Usage | Disks |
|---|---|---|---|---|---|---|
| home | /home/$USER, ~ | 400 GB | No | No* | Redundant, SSD | |
| shares | /shares/<PROJECT> | see below | No | No | with cost contribution Write more than 50 TB? Contact us | Redundant, HDD |
| flux | /flux/<PROJECT>/$USER | 10 TB / 1 million files | No | 90 days* | with cost contribution Change quota? Contact us | Redundant, NVMe (SSD) |
| scratch | /scratch/$USER, ~/scratch | 20 TB | No | 30 days | Redundant, HDD |
*Once your UZH Active Directory (AD) account is deleted, or your user is removed from all project associations, your /home and any /flux directories will be scheduled for deletion after 30 days.
To keep your data on the ScienceCluster, move it to your /shares project folder before your AD account is deactivated.
Filesystems¶
Tip
To see an overview of your storage usage, run the command quota from a login node.
Warning
If you exceed the quota, you will not be able to write to that file system. Check the FAQs for support on how to clean up your file storage if you are over-quota.
Danger
There are absolutely no filesystem-wide backups or archives. Any accidental file deletions or modifications are irreversible. We strongly recommend users back up and/or archive important data on a regular basis.
Home¶
Each user has a home directory (~/ or /home/$USER) where configuration files, source code, software environments, and other important files can be stored. For reference, home directories are stored on solid state drives (SSD) and are therefore suggested for folders with many files.
Scalable Storage - Shares¶
Group storage option "Shares" has a cost contribution that is based on the actual usage. The default permissions are set so that each member of the project has access to the shared folder, which can be found at this path: /shares/<PROJECT>. (In this case, replace <PROJECT> with your actual project name.)
Info
Storage quotas may be applied at the project level to manage overall capacity.
You can create a symlink called shares in your home directory that points to this shared group folder:
Scalable Storage - Flux¶
Storage option "Flux" has a cost contribution that is based on the actual usage. Users can find their folder with the path /flux/<PROJECT>/$USER. (In this case, replace <PROJECT> with your actual project name.) Users have a limit on the total storage and number of files, which can be adjusted by contacting us. According to the service agreement, any files that have not been accessed within 90 days will be deleted.
If you have workloads that are bottlenecked by file reading or writing (I/O), then Flux can potentially reduce your job run time significantly. Workloads with frequent input file accesses and large inputs and outputs should benefit the most from using Flux. If you are unsure whether Flux makes sense for your jobs, you may wish to run benchmarks with Flux as your input/output location to see if runtimes are reduced.
You can create a symlink called flux in your home directory that points to this folder:
Scratch¶
The scratch filesystem (/scratch/$USER or ~/scratch) is for the temporary storage of large input data files used during your calculations. Each user has a quota of 20 TB. The maximum file size is limited to 10 TB. Please note that this filesystem is meant for temporary storage only. According to the service agreement, any files that have not been accessed within 30 days will be deleted.
Warning
Any attempts to circumvent the automatic deletion policy may be considered abuse of the system.
Transfers between filesystems¶
For file transfers between ScienceCluster filesystems, we suggest one of the following:
- Globus, which includes a scheduling mechanism
- rsync or rclone, run on a compute node from within a Slurm job — preferably a small interactive session or CPU batch job.
Please do not use the login nodes for significant file transfers.
Further Storage Options¶
UZH Central IT (ZI) offers further storage options. For more details, please check General Topics → Data Storage.
- Data Archiving
- Data Publishing
- Network Storage (SMB- and NFS-based) with high availability and backup
- For connection instructions to NAS share, please check article How to Backup your ScienceCluster data to a NAS.
FAQs¶
I am over-quota. How can I clean up my file storage?¶
Consider moving large files to your Shares folder. Run the command quota to see which folders you have access to and how much of each quota you are using.
Hidden folders such as ~/.cache (cached files) and ~/.local (for example, user-installed Python packages) often grow large over time. To see how much space each hidden file or folder in your home directory uses, sorted by size, run:
If you can no longer log in to the cluster, you can still connect with a minimal shell that skips your login scripts:
and then remove files or kill processes if needed.Conda¶
To clean up cached installation packages from Conda environments, see here.
Apptainer¶
Check the Apptainer cache setup and cleanup instructions in this article.
Framework folders¶
Certain software frameworks (e.g., HuggingFace) cache files programmatically, which can be cleaned with their own commands. For example, with HuggingFace consider using:
You can find corresponding information on such commands in the framework specific documentation, such as this page for information on HuggingFace cache cleaning.