2022-06-06: A service outage on June 6 affected availability of the /n/scratch3 filesystem on the O2 cluster. The scratch storage service is now operational, but if you need to access data from /n/scratch3 before the outage, you MUST email HMS RC at: rchelp@hms.harvard.edu

Scratch is a storage location on O2 for temporary data. In summary:

To reiterate, if you delete a file on purpose or by accident, or just leave it sitting for 30 days, it is GONE. You can't get it back, and Research Computing can't get it back for you. Using this model lets us provide cost-effective, high-end storage to many more users than would be possible with permanent and backed-up files. But it is important that you understand the risks of using it.

Important - Artificially modifying file access times is against policy and may result in losing your access to scratch3.

Scratch3 Overview

A new scratch space is now available on O2, mounted at /n/scratch3.

Users cannot write files directly under /n/scratch3 itself. A large number of user directories have been pre-created on scratch3. If you don't have a scratch3 directory already, then you must use the scratch3 create directory script.

** The old /n/scratch2 was retired on June 26 2020 **

Scratch3 Directories: Users

On scratch3, user directories are found under:

Where "<first_eCommons_id_char>" is the first character of your eCommons id and  "<eCommons>" is your eCommons ID.


For example, the scratch3 directory for a user with the username "abc123" would be located at:


For an eCommons ID of zz999 the scratch3 directory will be at:

Create a User Scratch3 Directory

To create your own scratch3 directory on O2, please run the following command from a login node (not an interactive job):

/n/cluster/bin/scratch3_create.sh

Note: As mentioned above, a large number of user's directories have been pre-created on scratch3. If you have a pre-created scratch3 directory and run the script, then it will inform you that you have a directory already.

Scratch3 Storage Usage

The storage usage is on a user basis rather than a group. To check the storage usage, please run the following command:

quota

More information about the O2 quota command can be found on this wiki page.