StashCache

From Mu2eWiki
Revision as of 22:50, 1 May 2017 by Rlc (talk | contribs) (Created page with " ==Introduction== StashCache is implemented with the same use rinterface and database as CVMFS. The use sees the files as if they are on a local file system....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

StashCache is implemented with the same use rinterface and database as CVMFS. The use sees the files as if they are on a local file system.


Usage

Define a read a write area

export MU2E_STASH_WRITE=/pnfs/mu2e/persistent/stash
export MU2E_STASH_READ=/cvmfs/mu2e.osgstorage.org/pnfs/fnal.gov/usr/mu2e/persistent

Files to be distributed are copied interactively to the appropriate area under the stash cache directory.

cp foo $MU2E_STASH_WRITE/path/foo

Interactively, or on any grid node, the use can copy it locally if a fast disk response is needed

cp $MU2E_STASH_READ/path/foo .

or simply open it as a local file.

The cache area is not executable.