User Tools

Site Tools


computing:storage

This is an old revision of the document!


Storage

T3 scratch area

Each user and working node (t3ui* and t3wn*) has its own scratch area. which should only be used for temporary storage, because it is not backed-up. For longer storage of large files, please use T3's storage element.

T3 Storage element

For large files, one should always use the T3 storage element. This section summarizes the useful parts of the TWiki on how To Acces SE.

Copying files

You can also copy large output files to the storage element using the copy command lcg-cp or the recommended xrdcp from XROOTD.

USER_SE_HOME="srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/user/$USER"
SERESULTDIR=$USER_SE_HOME/"analysis"
lcg-cp -b -D srmv2 file:$WORKDIR/$OUTFILE $SERESULTDIR/$OUTFILE

or

USER_SE_HOME="root://t3dcachedb.psi.ch:1094//pnfs/psi.ch/cms/trivcat/store/user/$USER"
SERESULTDIR=$USER_SE_HOME/"analysis"
xrdcp -f $WORKDIR/$OUTFILE $SERESULTDIR/$OUTFILE

Creating directories

Note that one can only copy files to existing directories. Create the necessary parent directories (analysis in this example) on your SE home if it doesn't exist yet:

gfal-mkdir -p gsiftp://t3se01.psi.ch//pnfs/psi.ch/cms/trivcat/store/user/$USER/analysis

or more generally

gfal-mkdir -p gsiftp://t3se01.psi.ch/`echo $SERESULTDIR | grep -o '/pnfs/psi.ch/.*'`

Mounting the T3

computing/storage.1536652642.txt.gz · Last modified: 2018/09/11 09:57 by iwn