Skip to content

Data Management

This page describes the filesystems available on the CMRI HPC Cluster, and has instructions on transferring data to and from these filesystems.


Filesystems

Name Directory Path Default Quota Intended Use Purged Snapshots Backed Up
/home /home/<your_username> 100GB Long term storage for research results. No 2 weeks Yes
/project /project/<pi>/<your_username> 5TB* Long term storage for project data and results. No 2 weeks Yes
/scratch /scratch/<your_username> N/A Short term storage for data being processed. Yes N/A No

*/project quotas are applied per-PI. Each /project/<pi> directory has its own quota.

Column Headings:

Name
The filesystem name, used when accessing the filesystem.
Directory Path
The path to directorie(s) you have access to on the filesystem.
Default Quota
The storage limit or 'quota' you are automatically assigned on the filesystem.
Intended Use
A brief description of the intended use for the filesystem.
Purged
Whether old data is automatically removed or 'purged' from a filesystem.
Snapshots
The period of time that temporary copies or 'snapshots' of data are kept.
Backed Up
Whether the filesystem is periodically backed up.

/home

When you log in to HPC resources from a terminal, you automatically start in your /home directory. The /home filesystem is meant for storing research results and software that do not belong to a particular project.

  • Snapshots are taken daily at 2:00am and stored for two weeks, allowing mistakenly deleted files to be easily recovered.
  • Directories in /home are automatically backed up and can be used for long term storage.

/project

This filesystem is meant for storing research results and software that you are sharing with project members. You may have more than one directory on the /project filesystem if you are working with multiple PIs. If you are starting a new project and need a directory created for it, please send a request to the ARC team.

  • Like /home directories, snapshots are taken daily at 2:00am and stored for two weeks.
  • Directories in /project are automatically backed up and can be used for long term storage.

/scratch

The /scratch filesystem is meant to be used as temporary storage for data that is being actively processed. /scratch directories are not appropriate for long term storage because they are purged.

  • Files and directories in /scratch that have not been modified for 30 days are automatically deleted, or 'purged'.
  • /scratch is not backed up, and snapshots are not kept.

The advantage to scratch storage is that there are no storage quotas. You are not limited in how much data you can store there, just be aware that it will be automatically deleted after one month of inactivity.

Key points:

  • These filesystems should only be used to store research data.
  • /home, and /project can be used for long term data storage.
  • Directories in /project are for sharing data with other project members, do not try to use your /home directory for this.
  • /home, and /project are backed up, let us know if you accidentally delete a file and we can help recover it.
  • /scratch does not have limits to how much you can store, but data is automatically deleted, or 'purged' after 30 days.

Deprecated Filesystems

The /archive filesystem is deprecated - all data under /archive will be moved to the /project filesystem to allow for more accurate management of quotas. If you have data on the /archive filesystem, you will be notified before your data is moved.

Name Directory Path Default Quota Intended Use Purged Snapshots Backed Up
/archive /archive/projects/<project> 1TB Long term storage for project data and results. No 2 weeks Yes

Filesystem Policies

The sections below describe filesystem policies and how they are applied.

Acceptable Use

The high performance filesystems described on this page have limited space, and should only be used to store research data. Data that is not used to perform research (such as word documents, excel spreadsheets, powerpoint presentations, etc.) should not be stored here. If you are unsure if your data meets these requirements, please send your questions to the ARC team before moving your data.

Quotas

Quotas are used to limit the amount of storage each user has access to. If you reach the quota limit for a filesystem, you will no longer be able to write data to it until you delete enough files to go back below the limit. To view how close you are to the quota limit for a filesystem, you can use the du command (see examples below) on a linux system with the filesystem mounted, such as cmri-vm-login. The /home, /project, and /archive filesystems have quotas enabled, while the /scratch filesystem does not.

Commands for checking filesystem use:

Name Directory Path Command
/home /home/<your_username> du -hs /home/<your_username>
/project /project/<pi>/<your_username> du -hs /project/<pi>
/archive /archive/projects/<project> du -hs /archive/projects/<project>

To request a quota increase, please see the Quota Increase section on the Getting Help page.

Snapshots

Snapshots are temporary copies of all data on a filesystem that can be used to restore erroneously deleted or modified files. Snapshots are taken at 2:00am daily for the /home, /project, and /archive filesystems, and are retained for two weeks.

If you accidentally delete or modify data in /home, /project, or /archive and would like to restore it, you can navigate to these directories:

Name Snapshot Path
/home /home/.snapshot/
/project /project/.snapshot/
/archive /archive/.snapshot/

Snapshot data is retained in subdirectories below .snapshot and can be copied back to its original location to restore it. The .snapshot directory is not accessible from SMB mounts (such as those used for Data Transfer on Windows systems). If you need assistance restoring data from a snapshot, please see the Restoring Data section on the Getting Help page.

Backups

Backups are periodic copies of all data on a filesystem that are stored on a separate storage system. Backups are completed weekly for the /home, /project, and /archive filesystems. Data on the /scratch filesystem is considered temporary and is not backed up.

Purging

Data is deleted, or 'purged' from the /scratch filesystem automatically if it has not been modified for thirty days. Data is not purged from the /home, /project, and /archive filesystems. /scratch is intended to be used as temporary storage for data that is being processed, and is not meant for long-term storage. Research results should always be stored in /home, /project, or /archive, not /scratch.

Data is purged from /scratch because:

  • There are no quotas on /scratch. To prevent the filesystem from filling up, old files have to be periodically removed.
  • Snapshots are not kept for /scratch. Data on the filesystem changes frequently which causes snapshots to take up more space, and reduces their usefulness for data recovery.
  • /scratch is not backed up, and should not be used for long-term storage. Data purging helps prevent misuse of the filesystem as long-term storage.

Data Transfer

To transfer data to the filesystems listed above, you can mount them locally on your CMH computer. Your computer will need to be on the CMH network, or connected over the VPN for you to be able to connect. Follow the steps in one of the sections below to transfer data to the filesystems:

Windows

  1. Open File Explorer by clicking on the folder icon on the taskbar.
  2. Right click on the computer icon in the sidebar on the left, then left click on "Map network drive" from the dropdown menu. Windows File Explorer context menu with the Map network drive option
  3. In the "Folder" field, enter \\cmripurefb.cmh.internal\home to mount the home filesystem. For the archive and scratch filesystems, you would replace "home" with "archive" or "scratch". For "project", use \\cmri-c800.cmh.internal\project. Map Network Drive dialog with the CMRI home network share entered as the folder
  4. Click the "Finish" button. Once the filesystem is mounted, an explorer window will open showing its contents.

macOS

  1. Open Finder, then click on "Go" in the navigation bar at the top of the screen and select "Connect to Server" from the dropdown menu. Alternatively, you can use the key combination ⌘ + k macOS Finder Go menu with Connect to Server selected
  2. In the "Server Address" field, enter smb://cmripurefb.cmh.internal/home to mount the home filesystem. For the archive and scratch filesystems, you would replace "home" with "archive" or "scratch". For "project", use smb://cmri-c800.cmh.internal/project. macOS Connect to Server dialog with an SMB network address entered
  3. Click the "Connect" button. Once the filesystem is mounted a Finder window will open showing its contents. Finder window showing the mounted CMRI home network share

Command Line

If you would like to use the command line to transfer data from your computer, we recommend using scp. For small data transfers (<20 GB) scp works well, and is available on Windows, macOS, and Linux. For larger data transfers, we recommend using rsync.

Scp Examples

  • Transferring a file from your computer to your home directory on the cluster:

    scp ./data_file <your_username>@cmri-vm-login:/home/<your_username>
    
  • Transferring a directory from your computer to your home directory on the cluster:

scp -r ./data_directory <your_username>@cmri-vm-login:/home/<your_username>
  • Transferring a file from your home directory on the cluster to your computer:
scp <your_username>@cmri-vm-login:/home/<your_username>/data_file .
  • Transferring a directory from your home directory on the cluster to your computer:
scp -r <your_username>@cmri-vm-login:/home/<your_username>/data_directory .

On macOS and Linux, you can run man scp for additional examples and more information on how the command works.

Troubleshooting

Starting with macOS Catalina (10.15) you will need to give the Terminal application access to the directories(s) your data is in before you can transfer it to the cluster using scp. Follow these steps to ensure Terminal has access:

  1. Open the Apple menu in the top left corner and click on "System Preferences", then select "Security and Privacy". Scroll through the list on the left side of the popup menu and select "Files and Folders".
  2. On the right side, scroll down to find the Terminal application. Beneath it should be a list of directories. Check the box next to the directorie(s) that your data is in to allow the Terminal application to access them. macOS Privacy settings showing Terminal's Files and Folders access permission
  3. Close and re-open Terminal, then try to run the scp command again. If you still encounter errors transferring the data, please submit a help request to the ARC team.

Getting Help

For help with data management related requests, please follow the steps on the Getting Help page to create a ServiceNow ticket. If your request matches one of the categories below, please include the additional information listed in your request:

Quota Increase

To request a quota increase, please submit a ServiceNow ticket that includes:

  • Which filesystem(s) you would like additional space on.
  • The amount of additional space you are requesting and the length of time you need it for.
  • A brief justification for why the additional space is needed.

Restoring Data

If you need assistance restoring data, please submit a ServiceNow ticket that includes:

  • The date you would like the data restored from.
  • A list of the files or directories you would like restored.
  • The location you would like the data restored to.