File Storage and I/O
Edison File Systems
The Edison system has three different file systems; they provide different levels of disk storage and I/O performance. The table below describes these systems.
|File System||Home||Local Scratch||Project|
|$HOME||$SCRATCH for /scratch1 or /scratch2
None for /scrach3
|None. Must use
|Peak Performance||Low, ~100 MB/sec||168 GB/sec||40 GB/sec|
|Purged?||No||Yes, files older than 12 weeks are purged on /scratch1 and /scratch2;
Files older than 8 weeks are purged on /scratch3
*) Edison quota is set on /scratch1 and /scratch2 but not /scratch3.
Lustre Scratch Directories
Edison has three scratch file systems named /scratch1, /scratch2, and /scratch3. The first two file systems have 2.1 PB disk space and 48 GB/sec IO bandwidth each, while the third one has 3.2 PB disk and 72 GB/sec IO bandwidth. Users are assigned to either /scratch1 or /scratch2 in a round-robin fashion, so a user will be able to use one or the other but not both. The third file system is reserved for users who need large IO bandwidth, and the access is granted by request. If you need large IO bandwidth to conduct more efficient computations and data analysis at NERSC, please submit your request by filling out the SCRATCH3 Directory Request Form.
The /scratch1 or /scratch2 file systems should always be referenced using the environment variable $SCRATCH (which expands to /scratch1/scratchdirs/YourUserName or /scratch2/scratchdirs/YourUserName on Edison). The scratch file systems are available from all nodes (login, and compute nodes) and are tuned for high performance. We recommend that you run your jobs, especially data intensive ones, from the scratch file systems.
All users have 10 TB of quota for the scratch file system. If your $SCRATCH usage exceeds your quota, you will not be able to submit batch jobs until you reduce your usage. We have not set the quotas on the /scratch3 file system. The batch job submit filter checks only the usage of the /scratch1 or /scratch2, but not /scratch3.
The "myquota" command (with no options) will display your current usage and quota. NERSC sometimes grants temporary quota increases for legitimate purposes. To apply for such an increase, please use the Disk Quota Increase Form.
The scratch file systems are subject to purging. Files in your $SCRATCH directory that are older than 12 weeks (defined by last access time) are removed. Please make sure to back up your important files (e.g. to HPSS). Instructions for HPSS are here.
The /scratch3 file system is subject to purging as well. Currently the same purging policy applies to the /scratch3 file system. Starting Feb 4, 2015, files that are older than 8 weeks will be deleted from the /scartch3 file systems.
Scratch Filesystem Configuration
|Size PB||Aggregate Peak Performance||# of Disks||# IO Servers (OSSs)||OSTs||File System Software||Disk Array Vendor|
*) The /scratch3 file system used to have 144 OSTs. It was upgraded to Grid Raid in December 2015. The number of OSTs was reduced to 36 but with 4 times of disk space per OST. The total storage capacity was not changed.
The table shows the Edison scratch file system configurations. The /scratch1 and /scratch2 file systems each have 96 OSTs, the lowest I/O layer with which users need to interact. Each OST has about 2.2 TB disk space. The third file system has 36 OSTs, and each OST has 9.0 TB disk space. The default striping size for all three file systems is two, meaning when a file is created, it is "striped" or split across two different OSTs by default. Striping is a technique to increase I/O performance. Instead of writing to a single disk, striping to two disks allows the user to potentially double read and write bandwidth. Lustre file systems at other computing centers may set a different default based on their workload.
Do Not Use /tmp explicitly
WARNING: Do not attempt to explicitly use a file system named /tmp. Some software tools (editors, compilers, etc.) use the location specified by the $TMPDIR environment variable to store temporary files. Additionally, Fortran codes which open files with status="scratch" will write those files into $TMPDIR. On many Unix systems, $TMPDIR is set to /tmp. NERSC has set $TMPDIR to be $SCRATCH. Please do not redefine $TMPDIR!
Use this form to request the /scratch3 directory space on Edison. The /scratch3 file system is reserved for users who need large I/O bandwidth. Please provide a few sentences describing the planned use of the /scratch3 file system, and explain why a higher I/O bandwidth is needed. Please note, users have no quota on the /scratch3 file system, but files that are older than 8 weeks will be purged from the /scratch3 file system. Read More »