====== Storage ====== This page aims to collect useful information on the different options for storage on PSI's T3 and the ''lxplus'' cluster. [under construction] ===== 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_storage_element|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 [[https://wiki.chipp.ch/twiki/bin/view/CmsTier3/HowToAccessSe|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. lcg-cp -b -D srmv2 file:foo.root srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/user/$USER/analysis/$OUTFILE or xrdcp -f foo.root root://t3dcachedb.psi.ch:1094//pnfs/psi.ch/cms/trivcat/store/user/$USER/analysis ==== 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 ==== [to be updated] ===== T2 Storage element ===== [to be updated] ===== Lxplus afs ===== [to be updated] ===== Lxplus eos ===== [to be updated]