Hi all,
at GSI I implemented the xrootd mass storage interface to
gStore, our local mass storage system.
Staging from gStore and migrating to gStore seems to work,
but the xrd command interface (dirlist) works only
if the mass storage interface is not activated.
If activated, no files are found with dirlist in any path backed with
gStore
(subdirectories of (/data1/)gstore, see configuration file attached).
Sometimes even the mass storage interface script
specified with oss.mssgwcmd is invoked,
though this should be inhibited by oss.nodread.
Also in pathes NOT backed with gStore, no files are shown with dirlist.
In the xrootd log file, no output appears (see log file attached)!
Besides that: Though specified as not migratable in the config file,
the pathes not backed with gStore appear with 'oss.path mig'
in the log file (/user, /xrootd, /Alitmp).
What's going wrong there?
Horst Goeringer
080425 15:09:46 001 (c) 2004 Stanford University/SLAC xrd version 20070323-0259
080425 15:09:46 001 xrootd [log in to unmask] initialization started.
080425 15:09:46 001 Using configuration file /home/alixrd/alien/api/etc/xrootd/server/xrootd.cf
080425 15:09:46 001 Maximum number of connections is 1024
080425 15:09:46 001 (c) 2005 Stanford University/SLAC XRootd.
080425 15:09:46 001 XRootd seclib not specified; strong authentication disabled
080425 15:09:46 001 XrdTokenAuthzOfs_Init: (c) 2005 CERN/Alice, XrdTokenAuthzOfs Version 20070323-0259
080425 15:09:46 001 XrdTokenAuthzOfs_Config: File system initialization started.
080425 15:09:46 001 XrdTokenAuthzOfs_Config: Warning! redirect directive is deprecated; use role.
080425 15:09:46 001 odc_Config: Target redirection initialization started
080425 15:09:46 001 odc_Config: Target redirection initialization completed.
080425 15:09:46 001 XrdTokenAuthzOfs_Config: File system initialization completed.
/home/alixrd/alien/api/etc/xrootd/server/xrootd.cf ofs configuration:
ofs.role server
ofs.authorize
ofs.fdscan 9 120 1200
ofs.maxdelay 60
ofs.trace 0
080425 15:09:46 001 XrdTokenAuthzOfs_XrdOfsinit: initializing the XrdTokenAuthzOfs object
080425 15:09:46 001 oss_Init: (c) 2006, Stanford University, oss Version 20070323-0259
080425 15:09:46 001 oss_config: Storage system initialization started.
080425 15:09:46 001 oss_config: Mass Storage System interface initialization started.
080425 15:09:46 8957 odc_olb: Connected to olb via /tmp/alixrd_server/.olb/olbd.admin
080425 15:09:46 001 oss_config: Mass Storage System interface initialization completed.
080425 15:09:46 001 oss_config: Storage system initialization completed.
/home/alixrd/alien/api/etc/xrootd/server/xrootd.cf oss configuration:
oss.alloc 1 0 0
oss.cachescan 600
oss.compdetect *
oss.fdlimit 512 1024
oss.maxdbsize 0
oss.localroot /data1/
oss.stagecmd sync /home/alixrd/gstore/gsxrdStage
oss.mssgwcmd /home/alixrd/gstore/gsxrdCmd
oss.trace 0
oss.xfr 1 9437184 30 10800
oss.memfile off max 1725616128
oss.path /user r/w nocheck nodread mig nomkeep nomlock nommap norcreate stage
oss.path /xrootd r/w nocheck nodread mig nomkeep nomlock nommap norcreate stage
oss.path /Alitmp r/w nocheck nodread mig nomkeep nomlock nommap norcreate stage
oss.path /gstore r/w nocheck nodread mig nomkeep nomlock nommap rcreate stage
oss.path / r/w nocheck nodread mig nomkeep nomlock nommap norcreate stage
oss.cache public /data1/cache/
oss.cache public /data2/cache/
080425 15:09:46 001 Prep log directory not specified; prepare tracking disabled.
080425 15:09:46 001 Exporting /
080425 15:09:46 001 XRootd protocol version 2.7.0 build 20070323-0259 successfully loaded.
080425 15:09:46 001 xrootd [log in to unmask]:1096 initialization completed.
080425 15:10:01 8957 XrootdXeq: alixrd.9030:16@lxfs51 login
# xrootd.fslib /home/alixrd/alien/api/lib/libXrdTokenAuthzOfs.so
xrootd.fslib /home/alixrd/alien/api/lib/libXrdTokenAuthzOfs.so
# XRD/OLB section
xrd.port 1096
olb.port 3124
all.trace all debug
# Avoid hard limit at 30 OLBDs
if exec olbd
xrd.sched mint 10 maxt 100 avlt 20
else
xrd.sched mint 16 maxt 512 avlt 16
fi
# Role
olb.role server
#
# OpenFS section
ofs.redirect target
#
# Export /
xrootd.export /
# cache and localroot
oss.cache public /data1/cache
oss.cache public /data2/cache
# must not be specified by users and in 'path' directives
oss.localroot /data1/
# Path backed with gStore
olb.path ws /gstore
# Path NOT backed with gStore
olb.path w /Alitmp
olb.path w /xrootd
olb.path w /user
# for gStore connection
##################################################
# gstore query
oss.mssgwcmd /home/alixrd/gstore/gsxrdCmd
# gstore retrieve
oss.stagecmd /home/alixrd/gstore/gsxrdStage
# don't check in gStore prior to local file creation
oss.nocheck
# don't read gStore directory contents
oss.nodread
##################################################
# migrate files to gStore after creation
oss.path /gstore mig rcreate
# other pathes not migratable
oss.path /Alitmp nomig norcreate
oss.path /xrootd nomig norcreate
oss.path /user nomig norcreate
# gstore archive command
#mps.xfrcmd /home/alixrd/gstore/gsxrdCopy
mps.ftpcmd /home/alixrd/gstore/gsxrdCopy
# top path with migration to gStore
mps.scan /data1/gstore/
# subtree with migration in xrootd
mps.basedir /data1/gstore
# corresponding top path in gstore
mps.mssdir /gstore
#mps log file
mps.logfn /home/alixrd/alien/api/logs/alixrd_server/mps.log
#mps error log file
mps.errlogfn /home/alixrd/alien/api/logs/alixrd_server/mps.errlog
#file containing mps processid
mps.savepid_fn /home/alixrd/alien/api/etc/xrootd/server/mps_migr.pid
#location of file with priority migrate/purge requests
mps.prtyfn /home/alixrd/alien/api/etc/xrootd/server/migrpurg
mps.debug 4
#min time (sec) a file must be unchanged before migration
mps.migr.migrate_time 10
#max simultaneous migrate processes
mps.migr.max_migr_proc 3
#location of file that stops migration
mps.migr.stopmigr /home/alixrd/alien/api/etc/xrootd/server/STOP_MIGR
##################################################
# Subscribe
olb.subscribe lxfs50.gsi.de 3125
#
# ODC section
all.manager lxfs50.gsi.de 3125
#
# Delay clients at startup
olb.delay startup 5 lookup 3
oss.alloc 1G
olb.space linger 0 recalc 15 min 1g 2g
|