Print

Print


Hi Andy

Chris and I believe we have spotted a couple of problems within oss and 
mps staging.

1) According to the manual the oss.stagecmd gets give two arguments 
sourcefn and targetfn, as far as we can tell these are passed backwards. 
i.e. targetfn sourcefn.

If we replace the stage command with a script which records its 
arguments we get:

/stage/bdata-data38/kanga/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root 
/store/PRskims/R14/14.
4.3d/BCCC03a3body/15/Manny_test2.01.root

when we try to access 
/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root

This wouldn't be too much problem but we want to use mps_Stage as the 
stagecmd and it wants the args the other way around.

2) Within mps_Stage the xfrcmd directive is not treated the same as the 
-x option. If we run:

mps_Stage -d -x '/home/csf/bbdatsrv/bin/MSSGet.pl  %sfn %tfn' 
/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root 
/stage/bdata-data38/kanga/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root

the our script gets called correctly with:

/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root 
/stage/bdata-data38/cache/%stage%bdata-data
38%kanga%store%PRskims%R14%14.4.3d%BCCC03a3body%15%Manny_test2.01.root.anew

whereas if we put:

mps.stage.xfrcmd /home/csf/bbdatsrv/bin/MSSGet.pl %sfn %tfn

in xrootd.cf, we get called with:

%sfn %tfn -f 
/stage/bdata-data38/kanga/store/PRskims/R14/14.4.3d/BCCC03a3body/15/Manny_test2.01.root.stage

which seems to be treating this like ftp

Are these problems or features?

cheers

Manny