You are right. It is down to the "ofs.forward" directive. FWIW i do use the following xrootd.cf with inventory and userbased access limit. Writing over FUSE mount is not possible. So pretty much the scenario we need.
xrootd.cf:
xrd.timeout hail 30 idle 0 kill 3 read 5
all.export /xrootd
set xrdr=REDIRECTOR
set inventory=/var/log/xrootd/inventory
all.manager $(xrdr):3121
cms.allow host *.local.domain
if $(xrdr) && named cns
all.export $(inventory)
xrd.port 1095
else if $(xrdr)
all.role manager
oss.defaults rw
# dont use ofs.forward 14.4.2018
xrd.port 1094
else
all.role server
ofs.notify closew create mkdir mv rm rmdir trunc | /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1095:$(inventory)
ofs.notifymsg create $TID create $FMODE $LFN?$CGI
ofs.notifymsg closew $TID closew $LFN $FSIZE
xrootd.seclib /usr/lib/libXrdSec.so
sec.protocol unix
acc.authdb /etc/xrootd/Authfile
acc.authrefresh 60
ofs.authorize
cms.space min 100g 110g
fi
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@hds1 in #687: You are right. It is down to the \"ofs.forward\" directive. FWIW i do use the following xrootd.cf with inventory and userbased access limit. Writing over FUSE mount is not possible. So pretty much the scenario we need.\r\n\r\nxrootd.cf:\r\n```bash\r\nxrd.timeout hail 30 idle 0 kill 3 read 5\r\nall.export /xrootd\r\nset xrdr=REDIRECTOR\r\nset inventory=/var/log/xrootd/inventory\r\nall.manager $(xrdr):3121\r\ncms.allow host *.local.domain\r\nif $(xrdr) \u0026\u0026 named cns\r\n all.export $(inventory)\r\n xrd.port 1095\r\nelse if $(xrdr)\r\n all.role manager\r\n oss.defaults rw\r\n # dont use ofs.forward 14.4.2018\r\n xrd.port 1094\r\nelse\r\n all.role server\r\n ofs.notify closew create mkdir mv rm rmdir trunc | /usr/bin/XrdCnsd -d -D 2 -i 90 -b $(xrdr):1095:$(inventory)\r\n ofs.notifymsg create $TID create $FMODE $LFN?$CGI\r\n ofs.notifymsg closew $TID closew $LFN $FSIZE\r\n xrootd.seclib /usr/lib/libXrdSec.so\r\n sec.protocol unix\r\n acc.authdb /etc/xrootd/Authfile\r\n acc.authrefresh 60\r\n ofs.authorize\r\n cms.space min 100g 110g\r\nfi\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/687#issuecomment-381551228"}}}
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1