Understanding file systems and data management
The Aire HPC file system includes several special directories:
/users/<username>, $HOME) for personal files/mnt/scratch/<username>, $SCRATCH) for large, temporary data$TMP_SHARED) for very fast I/O during jobs$TMP_LOCAL, $TMPDIR) for fast local storageSymlinks exist: /scratch → /mnt/scratch, /flash → /mnt/flash
✅ Home is backed up and not automatically purged
❌ Scratch and flash are not backed up
🗑️ Flash is deleted after each job
⚠️ Always copy important results from temporary storage back to your home directory before the job ends
| Storage | Quota | Backup | Auto-Delete | Best For |
|---|---|---|---|---|
| Home | ~30 GB | ✅ Yes | ❌ No | Scripts, configs |
| Scratch | ~1 TB | ❌ No | ❌ No | Large datasets |
| Flash | ~1 TB | ❌ No | ✅ Yes | I/O-intensive |
| Local | Variable | ❌ No | ✅ Yes | Single-node |
$HOME)Characteristics:
Use for:
$SCRATCH)Characteristics:
$SCRATCH)Use for:
$TMP_SHARED)Characteristics:
Use for:
$TMP_LOCAL)Characteristics:
Use for:
quota commandExample output:
Disk quotas for user yourusername (uid 12345):
Filesystem blocks quota limit
/users 15000* 30000 33000
/mnt/scratch 100000 1000000 1100000
du Commanddu -hs * # Size of each directory
du -hs $HOME # Size of home directory
du -hs $SCRATCH # Size of scratch directory
du -h --max-depth=1 . # Directory sizes, one level deepPro tip: du -hs * in scratch shows which subdirectories use the most space (can be slow!)
cd $HOME # Go to home directory
cd $SCRATCH # Go to scratch directory
cd # Also goes to home
cd ~ # Also goes to home
ls $HOME # List home contents
ls $SCRATCH # List scratch contents
pwd # Show current directoryEnvironment variables make it easy to navigate between storage areas!
Remember: Use jumphost if connecting from off-campus!
Better for large files and directories:
Benefits:
--info=progress2Use case: Download datasets, software, or reference files directly to Aire
For those who prefer graphical interfaces:
All connect via SFTP to Aire login nodes
$SCRATCH$SCRATCHCritical Reminders
Let’s practice these concepts
Display the values of $HOME and $SCRATCH:
Check your current disk usage and quotas:
What do you see? Are you close to any limits?
Practice navigating between storage areas:
cd with environment variables like $SCRATCHpwd to check where you arels to see what files are presentOn your local machine, write the scp command to download results.txt from your home directory on Aire into your current local directory.
quota and duNow you understand Aire storage!
Let’s learn about software and modules

HPC1: Introduction to High Performance Computing | University of Leeds