Peter Elmer wrote:
[log in to unmask]" type="cite">
  Hi Matt,

On Sun, Feb 27, 2005 at 09:03:29AM -0800, Langston, Matthew David wrote:
  
We would like to export multiple directories from our xrootd server. The
version of xrootd we are running currently only supports exporting one
directory. This is our current xrootd.cf file:

glast@glast01 $ cat xrootd.cf
xrootd.fslib libXrdOfs.so
oss.readonly
xrootd.export /nfs/farm/g/glast/

We would like to do something like this:

glast@glast01 $ cat xrootd.cf
xrootd.fslib libXrdOfs.so
oss.readonly
xrootd.export /nfs/farm/g/glast/dir1
xrootd.export /nfs/farm/g/glast/dir2

However, it appears that xrootd only takes the last "xrootd.export"
stanza. Is there a way to get multiple exports (maybe in a later version
of xrootd)?
    

  If you want to export multiple disk partitions from a single server, there
is a "cache file system" which is supported for use on the back end. There
is some information about this here:

  http://xrootd.slac.stanford.edu/doc/mps_config/mps_config.htm

Unfortunately, I've not written any simple examples of that. (Note that
the documentation discusses a more general set of back end scripts to do 
migration/purge of files staged from a MSS.)

  Does this help with your problem?

  (Note also that you can hide the details of the internal organization
on the server from the external clients with some of the other directives 
like "localroot".)

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------
  
Hi Matt and Pete,

we are using in our conf files export multiple directories and all data from these directives are accessible:

xrootd.export /data0
xrootd.export /data1
xrootd.export /data2
xrootd.export /home

I also enlose the log file from redirector where you can see, that files (from /data1 and data2) are located and redirected to right node without using cache file system.

050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318037_raw_0012.MuDst.root
050227 12:14:22 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 481 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318037_raw_0008.MuDst.root
050227 12:14:22 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 482 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318037_raw_0024.MuDst.root
050227 12:14:22 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 483 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318037_raw_0007.MuDst.root
050227 12:14:22 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 484 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318036_raw_0275.MuDst.root
050227 12:14:22 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 485 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:22 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data2/starlib/reco/productionCentral/FullField/P02ge/2001/318/st_physics_2318037_raw_0019.MuDst.root
050227 12:14:23 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 486 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:23 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data1/starlib/reco/MinBiasVertex/ReversedFullField/P02ge/2001/252/st_physics_2252022_raw_0134.MuDst.root
050227 12:14:23 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 487 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:23 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data1/starlib/reco/MinBiasVertex/ReversedFullField/P02ge/2001/252/st_physics_2252022_raw_0117.MuDst.root
050227 12:14:23 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 488 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:23 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data1/starlib/reco/MinBiasVertex/ReversedFullField/P02ge/2001/252/st_physics_2252022_raw_0102.MuDst.root
050227 12:14:23 28868 odc_Receive: Server: Received from xrdstar.rcf.bnl.gov: 489 !try rcas6067.rcf.bnl.gov:1095
050227 12:14:23 28868 odc_Locate: user=starlib.782:12@rcas6002 redirected to rcas6067.rcf.bnl.gov:1095 by xrdstar path=/data1/starlib/reco/MinBiasVertex/ReversedFullField/P02ge/2001/252/st_physics_2252022_raw_0089.MuDst.root