delstage -M $HPSS_HOME/myfile.dstAs with usual tape staging, the contents of your file are copied onto the diskserver, and a symbolic link is created in your directory.
$HPSS_HOME = hpsssrv1:/hpss/cern.ch/user/u/username
# create PDLINPUT cat > PDLINPUT << EOF FILE=${HPSS_HOME}/dst/ww98.1.dst EOF # run the executable ./myprogram.exeresults in:
PHDST 3.13/01 IHEP/Protvino team Compiled 990712.2145 Today is 990714.1419 "FILE=hpsssrv1:/hpss/cern.ch/user/v/vaneldik/dst/ww98.1.dst" PHDST. "delstage -M hpsssrv1:/hpss/cern.ch/u" - PHDST. "ser/v/vaneldik/dst/ww98.1.dst" Wed Jul 14 14:19:40 MET DST 1999 delstage -M hpsssrv1:/hpss/cern.ch/user/v/vaneldik/dst/ww98.1.dst Wed Jul 14 14:19:40 MET DST 1999: DELSTAGE - Calling stagein to stage the tape with WAIT option DELSTAGE: Files staged, return code = 0 ww98.1.dst PHDST. Open file hpsssrv1:/hpss/cern.ch/user/v/vaneldik/dst/ww98.1.dst etc...
rfmkdir -m 775 $HPSS_HOME/groupfilesAll Delphi people will be able to create (and delete!) files in this directory.
delstage -C -M $HPSS_HOME/myfile.pawwhen you update you file $HPSS_HOME/myfile.paw
We suggest the following scheme, using the large /tmp disk on dxplus (or lxplus, please note however that /tmp area on hpplus and rsplus is very small!):
WARNING!! Do not try to rfcp your HPSS file to an AFS area,
like your $SCRATCH !!
This file transfer is most likely to fail:
dxplus05 [13] rfcp ${HPSS_HOME}/myfile ${AFS_SCRATCH}/myfile rfio_readlist() : I/O error copyfile_hpss(): -1 bytes out of 12877824 transfered rfcp : I/O error