Storage

Weka

HX2 has its own dedicated high performance file system utilising the Weka running on Lenovo hardware. This dedicated storage ensures the high loads generated by HX2 do not adversely affect the RDS or similar systems and, problems with the RDS do not cause job failures on HX2. This means that you must move data to your HX2 home directory before running jobs (sftp/rsync and other similar tools can be used to transfer data from the RDS to HX1 during this pilot phase). Please read the following sections for more information.

Home Directory

When you login to HX2, you will have a home directory automatically created for you on the file system local to HX2. User home directories on HX2 are intended to provide working space for current jobs only and it is the expectation that users will move their data to other systems once the data is no longer needed on the cluster. HX2 does have daily rolling snapshots, dating back 2 weeks, but there are NO BACKUPS OR DISASTER RECOVERY, meaning in the event of major hardware failure, file system corruption, etc. the data will be lost. It is therefore imperitive that you copy any important files to another storage system such as RDF Active once they have been generated.

Quota

Your home directory on HX2 is subject to a default quota of 1 TB.

Quota increases are possible on request if justified. We ask that users make efforts to:

  • Minimise the amount of data that needs to be stored for live projects.
  • Avoid having large numbers of files within their home directory.

Users who request a quota increase but are storing many unused files in their home directory will be asked to move or remove these files first before a quota increase is granted. Any quota increases above the default values will be re-assessed every 6 months and users may be asked to provide an updated justification for their quota level.

Local Node Storage

Both CPU and GPU nodes are equipped with physical NVMe disks that can be used for the processing of data locally. This storage space is sometimes referred to as "scratch" space. CPU nodes have 1TB of scratch and GPU nodes have 1.5TB each. Unlike our other systems, scratch space is a requestable and enforced resource in SLURM. You should request scratch if you have any data that needs to be copied to the local nodes storage. If you choose not to request any scratch space, you will be capped at 1GB of local storage. If you request any amount of scratch space, you will only be able to use that amount and going over will result in a disk quota exceeded error message.

Scratch space exists in /tmp, which can also be accessed by using $TMPDIR. Because of the way this is setup, /tmp is private and isolated to your job; writing to it does not interfere with any other users jobs. All data here is deleted after your job is finished.

Requesting Local Storage

To request scratch space, set the following flag: --gres=scratch:100g

CPU Node Example:

#!/bin/bash
#SBATCH --job-name=example-job
#SBATCH --time=03:00:00
#SBATCH --cpus-per-task=4
#SBATCH --ntasks-per-node=1
#SBATCH --gres=scratch:100g
#SBATCH --mem=32GB
#SBATCH --partition=small

The above is an example of how to request scratch space on a CPU node, requesting 4 cores and 100GB of scratch space.

GPU Node Example:

#!/bin/bash
#SBATCH --job-name=example-job
#SBATCH --time=03:00:00
#SBATCH --cpus-per-task=4
#SBATCH --ntasks-per-node=1
#SBATCH --gres=gpu:1,scratch:100g
#SBATCH --mem=32GB
#SBATCH --partition=gpu

The above is an example of how to request scratch space on a GPU node, requesting 1 GPU and 100GB of scratch space.

Retention of Data

The HX2 file system is meant for live data only and any important files should be copied elsewhere (including to the RDF-Active or RDS) after being generated. Minimising the amount of data stored on the HX2 filesystem ensures that it maintains the high performance we need it for. For these reasons, RCS staff will be undertaking the following steps to ensure that the file system is only used for live data:

  • If RCS staff believe that a user is storing unused data in their home directory, then they may be contacted and asked to move the data to another storage space if justification cannot be provided.
  • If RCS staff believe an account on HX2 has been unused for 6+ months, then we will contact the user and ask them to clean up their home directory. If we have not received a response from the user or registered supervisor within 6 weeks, then the RCS staff reserve the right to remove the data from the home directory.
  • If a user leaves the university and their account becomes deactivated, then the data in that home account will be removed promptly after the user has left. It is the responsibility of the user to ensure that a copy of important data exists elsewhere before they leave the university.

Shared Project Areas

We do have the ability to create shared project areas. If your group requires one, please ask your project admin to contact us. There will be no charge for these shared spaces but they are for live data sharing only and any quota must be justified (with a review every 6 months). As with home directories, data within these shared areas that have not been accessed for some time are at risk of being deleted.