This time with the config file: bash-2.05a$ cat /opt/xrootd/etc/xrootd.cf # RAL XROOTD base config file # CAJB 051004 mps.purg.debug = 4 # Xrd Configuration # xrootd configuration xrootd.fslib /opt/xrootd/lib/libXrdOfs.so xrootd.export /store #ODC Configuration odc.manager csflnx108.rl.ac.uk 1095 odc.manager xrootd107.gridpp.rl.ac.uk 1095 # OFS Configuration ofs.redirect remote csflnx108.rl.ac.uk ofs.redirect remote xrootd107.rl.ac.uk ofs.redirect target csfnfs35.rl.ac.uk ofs.redirect target csfnfs41.rl.ac.uk ofs.redirect target csfnfs45.rl.ac.uk ofs.redirect target csfnfs46.rl.ac.uk ofs.redirect target csfnfs47.rl.ac.uk ofs.redirect target csfnfs48.rl.ac.uk ofs.redirect target csfnfs49.rl.ac.uk #OLB Configuration olb.port 1095 olb.subscribe csflnx108.rl.ac.uk 1095 olb.subscribe xrootd107.gridpp.rl.ac.uk 1095 olb.path s /store olb.trace debug olb.wait #OSS Configuration oss.mssgwcmd /home/csf/bbdatsrv/bin/MSSGet.pl oss.stagecmd |/opt/xrootd/utils/mps_prep #oss.stagecmd /opt/xrootd/utils/mps_Stage #oss.stagecmd /home/csf/bbdatsrv/bin/mps_Stage_wrapper.sh oss.trace all oss.path /store r/o mig # Server config for csfnfs45 oss.localroot /stage/bdata-data50/kanga oss.cache public /stage/bdata-data50/cache #MPS directives mps.scan /stage/bdata-data50/kanga mps.basedir /stage/bdata-data50/kanga #Prestage directive mps.pstg.max_pstg_proc 2 mps.pstg.pstgcmd /opt/xrootd/utils/mps_Stage mps.pstg.prtyfn /opt/xrootd/stageQ/PreStageQ mps.pstg.logfn /opt/xrootd/logs/PreStage.log #Stage directives mps.stage.logfn /opt/xrootd/logs/Stage.log mps.stage.xfrcmd /home/csf/bbdatsrv/bin/MSSGet.pl %sfn %tfn #Purg directives mps.purg.hiusedpct 98 mps.purg.lousedpct 90 mps.purg.purge_time 36000 mps.purg.waittime 900 mps.purg.logfn /opt/xrootd/logs/purge.log Chris. > -----Original Message----- > From: [log in to unmask] > [mailto:[log in to unmask]] On Behalf Of > Brew, CAJ (Chris) > Sent: 17 May 2005 13:50 > To: [log in to unmask]; abh > Cc: Olaiya, EO (Emmanuel) > Subject: PreStage Problems > > Hi, > > I've been running some more tests of the staging at RAL and have run > into a problem somewhere in the mps_Stage/PreStage/prep system. > > Everything work fine staging file that was on the system and has been > deleted but if I try to stage in a file that was one a > different server, > hence the directory structure for the file does not exist on > the staging > server it fails and I see the following error in the PreStage > log file: > > 12:45:43 [ 10859] mps_Stage: Open > '/stage/bdata-data50/kanga//store/SPskims/R12/16.0.2e/BtoKKKL/ > 001005/200 > 002/DIR_LOCK' r/w failed; No such file or directory. > 12:45:43 [ 10859] do_stagein: xfr failed for > /store/SPskims/R12/16.0.2e/BtoKKKL/001005/200002/BtoKKKL_00100 > 5_3247.01. > root, rc=4, retry=1 > 12:45:45 [ 3255] > file=/store/SPskims/R12/16.0.2e/BtoKKKL/001005/200002/BtoKKKL_ > 0010053247 > .01.root, rc=1024, reqid=ef000001:1cd2.425d27e1 > :3762 > > If I create the directories and the DIR_LOCK file before running the > import, everything works. > > The config file I'm using on the server is below. > > Is there some setting I'm missing which is needed to create the > directories/DIR_LOCK file or does the code need fixing? > > Thanks, > Chris > > -- > Chris Brew ([log in to unmask]) +44 1235 446326 > Particle Physics Department > Rutherford Appleton Laboratory > Chilton, Didcot. Oxfordshire. > OX11 0QX. United Kingdom. > >