NERSC logo National Energy Research Scientific Computing Center
  A DOE Office of Science User Facility
  at Lawrence Berkeley National Laboratory

DaVinci File Systems

User-accessible file storage on DaVinci is provided by a combination of XFS-based local storage (/scratch), and GPFS-based network storage (/global/homes, /project). To move files between DaVinci and other systems, use scp. To move files bewteen DaVinci and NERSC's archival storage system (archive.nersc.gov), use ftp/pftp, hsi, or htar.

Your $HOME Directory

When you login to DaVinci, you are put into your global home directory by default.

Your $SCRATCH Directory

NERSC provides a scratch directory referred to by the environment variable $SCRATCH. For temporary storage you should always use $SCRATCH and never /tmp.
$SCRATCH

The environment variable $SCRATCH refers to your scratch directory, which is part of the /scratch file system that provides 21 TBytes of space shared by all users. The contents of $SCRATCH may be deleted at any time if /scratch becomes near capacity. In general, files in $SCRATCH will persist for at least 7 days, but users are "taking chances" by using $SCRATCH to store files longer than 7 days, and should not rely on it to be "semi-permanent" file storage space.

There are currently no space or inode quotas for users on the /scratch file system.

/tmp

The /tmp file system is actually part of the root file system, and is not very large. Users are urged not to use /tmp. If /tmp is filled, processes will likely crash, and may take the node down as well. In most circumstances $SCRATCH will give better performance than /tmp.

Users migrating software and scripts to DaVinci from other systems should be careful to check for assumptions about the use of /tmp, which is a common place to build software on some systems. All references to /tmp in user scripts, makefiles and codes should be changed to $SCRATCH.

The project Directory

The NERSC Global Filesystem (NGF) provides a large-capacity file storage resource that is shared between all the major compute platforms. Usage is organized by "projects", which will usually (but not always) be the same as repositories. File space in NGF is not automatically allocated to individual users; it must be requested by project administrators. Complete information may be found here.

Quota Summary

File system Space quotaInode quotaFiles subject to purging
$HOME 40 GB500,000never
$SCRATCH nonenoneafter 7 days
/project 1 TB500,000never

NERSC sometimes grants temporary quota increases for legitimate purposes. To apply for such an increase, or to request the creation of a collaborative project directory, please see Disk Quota Change Request Form.


LBNL Home
Page last modified: Mon, 11 Jan 2010 21:47:12 GMT
Page URL: http://www.nersc.gov/nusers/systems/davinci/storage.php
Web contact: webmaster@nersc.gov
Computing questions: consult@nersc.gov

Privacy and Security Notice
DOE Office of Science