Azure Data Management
This page describes the filesystems available on Research CycleCloud (RCC), how they differ, and where to put your data at each stage of your work.
Storage Overview¶
RCC storage is backed by different Azure storage technologies. Most data lives in Azure Blob Storage containers, which are mounted on the compute nodes in different ways depending on the use case. Performance, caching, persistence, and cost differ between them, so the best location depends on what you are doing and how you access your files.
Note
Choosing the right location for each phase of your work makes your jobs faster and more reliable, and helps keep Azure storage costs down.
Filesystems¶
All cluster nodes have access to the filesystems below.
| Location | Mount type | Description |
|---|---|---|
/cluster/home/<username> |
Blob NFS | Your home directory. |
/cluster/transfer/<username> |
Azure Files | A personal directory that can be mounted on your local computer to make file transfer easier. |
/analysis |
Blobfuse2 | Secondary analysis outputs. |
/ro/analysis |
Read-only Blobfuse2 | A read-only view of /analysis with better read performance. |
/illumina |
Read-only Blobfuse2 | Sequence data from the Illumina sequencers. |
/labs |
Blobfuse2 | Lab-specific storage. |
/scratch |
Local SSD | Fast storage local to each compute node. Not preserved when the node is deallocated. |
/reference |
Blob NFS | Reference genomes and annotation files. |
/software |
Azure Files | Commonly used bioinformatics tools. |
/pbdata |
Read-only Blob NFS | PacBio raw data and SMRT Link automated analysis outputs. |
/jobs_root |
Read-only Blob NFS | PacBio pipelines. |
/public-bams |
Files used in UCSC Genome Browser sessions. Access is by request. |
Upcoming Changes¶
Filesystem changes planned for October 30, 2026
/analysis will become read-only, and new mounts will be added to replace the storage containers that are at capacity.
The new filesystems are:
/analysis2- secondary analysis outputs/illumina2- sequence data from the Illumina sequencers/research- consolidates miscellaneous research directories/ultima- sequence data from the Ultima sequencer
Mount Types¶
| Mount type | What it is like | Used for |
|---|---|---|
| Blob NFS | A shared local drive. The closest to a regular Linux filesystem. | home, /reference, /pbdata, /jobs_root |
| Blobfuse2 | Shared cloud folders. General purpose, uses caching. | /analysis, /illumina, /labs |
| Local SSD | Fast storage local to each node. The size depends on the node. | /scratch |
| Azure Files (SMB and NFS) | Can be mounted on your computer to make file transfer easier. | /cluster/transfer, /software |
Choosing Where to Work¶
Home Directory¶
Use your home directory (/cluster/home/<username>) for active project files, scripts, environments, and working materials.
- Home is Blob NFS, so it behaves like a regular Linux filesystem.
- It can handle a large number of small files, but at a lower read/write speed than local disk.
- Keeping active work organized makes it easier to manage and clean up.
Clean up regularly. There is no hard limit on home directory size, but CMRI pays for the Azure storage in use, and home is in the most costly Azure storage tier (hot). Remove or relocate files that are no longer part of active work, and build cleanup into project closeout.
Home is not an archive:
| Keep in home | Move or remove |
|---|---|
| Active scripts and configuration | Completed outputs for long-term retention |
| Current project materials | Temporary intermediates |
| Files needed for ongoing analysis | Duplicate or obsolete files |
Scratch¶
Use /scratch as the working directory for heavy read/write steps, and move files to their final destination before your script exits.
/scratchis a fast local SSD on the compute node.- It avoids repeated reads and writes over the network.
- It benefits jobs that create or access many temporary files.
- It is not preserved when the node is deallocated.
- The amount of scratch space depends on the node size. See the node table on the Research CycleCloud page.
The example job script below does the heavy work in /scratch, then moves the results to the home directory and cleans up before the job ends. The logs directory must exist before you submit the job.
#!/bin/bash
#SBATCH --job-name=extract_chrom
#SBATCH --cpus-per-task=4
#SBATCH --mem-per-cpu=4G
#SBATCH --output=logs/%x-%j.out
#SBATCH --error=logs/%x-%j.err
set -e
INPUT_BAM_FILE=${1}
TARGET_CHR=${2}
OUTPUT_DIR="${HOME}/rcc_demo/outputs"
WORK_DIR="/scratch/${USER}_${SLURM_JOB_ID}"
mkdir -p "${WORK_DIR}" "${OUTPUT_DIR}"
OUT_NAME="$( basename ${INPUT_BAM_FILE} .bam ).${TARGET_CHR}.bam"
samtools view --threads ${SLURM_CPUS_PER_TASK} ${INPUT_BAM_FILE} \
-o ${WORK_DIR}/${OUT_NAME} ${TARGET_CHR}
# move results before the job ends, then clean up
mv "${WORK_DIR}/${OUT_NAME}" "${OUTPUT_DIR}/"
rmdir "${WORK_DIR}"
Analysis¶
Use /analysis for long-term storage of completed outputs. Do not use it as a working directory.
/analysisis Blobfuse2, a cloud-backed mount that uses caching.- Heavy, high-churn read/write work interacts poorly with remote storage and caching.
- Backup snapshots protect retained data.
When you only need to read files from /analysis, use /ro/analysis instead. It is a read-only memory cache that reads each file block by block, as needed. It performs better than /analysis and protects the source data from accidental changes.
Blobfuse2 Caching Behavior¶
The analysis storage container works differently from your home directory because it uses a Blobfuse2 mount.
- Timestamps and user-related file metadata are not preserved.
- Caching makes general file access efficient. A file you interact with is brought into the cache.
- Changes to the cached file are reflected to the storage container when you save/close a file.
- The cache is specific to each node, so a file written or edited on one node may not immediately appear on another.
When working in /analysis, you may therefore see caching delays or desynchronization.
Important
Not every unexpected file behavior is caused by caching. If something looks wrong, submit a ticket with details. See Getting Help.
Storage Decision Guide¶
| If you are... | Use | Remember... |
|---|---|---|
| Working on an active project | Home directory | Clean up or relocate files when work is complete. |
| Running heavy read/write jobs (most cases) | /scratch (or home) |
Move files to their destination before the job exits. |
| Running lighter jobs (rare case) | /analysis or /labs |
Beware of potential caching delays and desynchronization. |
| Retaining completed outputs | /analysis |
It is not a working directory. |
Only reading from /analysis |
/ro/analysis |
It protects the source data. |
Transferring Files¶
The /cluster/transfer filesystem can be mounted from CMH Mac and Windows workstations using these addresses:
Mac: smb://p1gmcstorprimary01.file.core.windows.net/home
Windows: \\p1gmcstorprimary01.file.core.windows.net\home
/cluster/transfer is intended as a convenient place to transfer files, not as permanent storage for large amounts of data.
Best Practices¶
Before you submit a job, ask yourself:
- Is my working directory appropriate for the I/O pattern?
- Will I move outputs out of
/scratchbefore the job exits? - Do I know what to clean up afterward?
Common pitfalls to avoid:
- Keeping inactive projects in home indefinitely.
- Running high-I/O work directly against
/analysis. - Forgetting to move outputs out of
/scratch. - Assuming cloud-backed mounts behave like local disk.
For guidance on submitting jobs, see the Submitting Jobs page and the User Policies page.