Last server error 3011 ('No servers are available to write the file.
valtical.cern.ch is the xrdr, while valtical00 is one of the disk servers which has a lot of free space, the other disk servers are all full at this time.
I changed the path from valtical to valtical00, e.g. writing to that file server directly. then the uploading get succeeded. But why xrootd does not select valtical00 to write?
After checking the log I found that two disks (localdisk3 and localdisk4) on valtical00 were not taken into account when xrootd starts up:
Config using configuration file /opt/vdt-xrootd/xrootd/etc/xrootd.cfg
=====> all.adminpath /opt/vdt-xrootd/xrootd/var/admin
=====> xrd.port 1094
Config maximum number of connections restricted to 1024
Copr. 2007 Stanford University/SLAC cmsd.
++++++ anon@valtical00.cern.ch phase 1 initialization started.
=====> all.export /localdisk/xrootd
=====> all.export /localdisk/proofbox r/o
=====> all.adminpath /opt/vdt-xrootd/xrootd/var/admin
=====> all.manager valtical.cern.ch:1213
=====> all.role server
=====> oss.cache public /localdisk/xrootd/*
=====> oss.cache public /localdisk2/xrootd
=====> oss.cache public /localdisk5/xrootd
=====> oss.cache public /localdisk6/xrootd
The following paths are available to the redirector:
r /localdisk/proofbox
w /localdisk/xrootd
------ anon@valtical00.cern.ch phase 1 server initialization completed.
++++++ anon@valtical00.cern.ch phase 2 server initialization started.
130118 15:26:12 001 Meter: Duplicate filesystem /localdisk/xrootd/proof skipped for free space.
130118 15:26:12 001 Meter: Duplicate filesystem /localdisk/xrootd/productions skipped for free space.
130118 15:26:12 001 Meter: Duplicate filesystem /localdisk/xrootd/users skipped for free space.
130118 15:26:12 001 Meter: Duplicate filesystem /localdisk/xrootd/test skipped for free space.
130118 15:26:12 001 Meter: Found 4 filesystem(s); 7TB total (0% util); 1TB free (1TB max)
But actually localdisk3 and localdisk4 are configured in the configuration file /opt/vdt-xrootd/xrootd/etc/xrootd.cfg:
all.role server
xrootd.chksum max 3 adler32 ${xrootdlocation}/bin/xrdadler32
cms.perf int 2m pgm ${xrootdlocation}/etc/XrdOlbMonPerf 120
set osscachepath = /localdisk/xrootd
oss.cache public $(osscachepath)/* xa
oss.cache public /localdisk2/xrootd xa
oss.cache public /localdisk4/xrootd xa
oss.cache public /localdisk3/xrootd xa
oss.cache public /localdisk5/xrootd xa
oss.cache public /localdisk6/xrootd xa
oss.usage log ${xrootdlocation}/var/admin