Hi Andy,
> Agreed that the documentation is wrong. In both cases, only the logical
> file name is passed (i.e., without the localroot). The reason that you see
> the localroot prefix in the second prepadd message is because it was added
> in by the olbd.
Thus my olb.prep script retrieves the filename with the localroot,
i.e. a PFN. But your next statement is that all filenames that are
passed around should be LFNs. So this means there is a bug there,
isn't there?
> In general, all filenames passed around the system are
> LFN's (where PFN's are the ones that have the localroot added).
Cheers,
Jan Fiete
> On Wed, 21 Mar 2007, Jan Fiete Grosse-Oetringhaus wrote:
>
>> Hi,
>>
>> we use a staging script and a prepare script that are used by
>> xrootd/olbd via the directives oss.stagecmd and olb.prep.
>>
>> I noticed that in case of oss.stagecmd the path given as 6th parameter
>> of the line passed to the script is without the localroot. In case of
>> olb.prep it is including the localroot. The documentation says in both
>> case: "path is the absolute path of the file[...]"
>>
>> One also sees this nicely in the olbd log:
>>
>> 070321 17:08:11 19141 Receive from lxb6043.cern.ch: 7@0 prepadd
>> 3b808e80:0445.46015809:948 * 0 rq
>> /alice/sim/2006/pp_minbias/5001/980/root_archive.zip
>> 070321 17:08:11 19141 do_PrepAdd4Real Preparing
>> 3b808e80:0445.46015809:948 * 0 rq
>> /pool/alice/sim/2006/pp_minbias/5001/980/root_archive.zip
>>
>> Between the first and second entry the localroot (in this case /pool)
>> is added.
>>
>> Is this the intended behavior or a bug?
>> In any case, I suggest to add a short comment to the documentation
>> mentioning the localroot.
>>
>> Cheers,
>> Jan Fiete
>>
--
*****************************************************************
Jan Fiete Grosse-Oetringhaus
CERN Office 12-1-008
1211 Geneva 23 Phone +41 22 767 49 96
Switzerland Mobile +41 76 487 54 59
*****************************************************************
|