lcg-lr(1) - Linux man page
Name
lcg-lr - lists the replicas for a given LFN, GUID or SURL
Synopsis
lcg-lr [ --config config_file ] [ -h,--help ] [ -b,--nobdii ] [
-v,--verbose ] [ --connect-timeout "timeout" ] [ --sendreceive-timeout "timeout" ] [ --bdii-timeout "timeout" ] [ --vo
virtual_organization ] [ --version ] file
Description
lcg-lr lists the replicas for a given LFN, GUID or SURL. If you specify a given command
line option multiple times, the command takes into account only the very last one so that in a script, you can override a particular option in a pre-set option
set (like gcc does).
- file
- specifies the Logical File Name, the Grid Unique IDentifier or the Site URL. An SURL scheme can be sfn: for a classical SE or srm:.
- --connect-timeout
- Sets the connect timeout, used when connecting to a remote host. The connection will be aborted if the remote host doesn't reply after value
seconds. Default: 60 seconds.
- --sendreceive-timeout
- Sets the send/receive data timeout, used when transferring data to/from a remote host. The connection will be aborted if no data is transfered after
value seconds. Default: 0 (blocking).
- --bdii-timeout
- Sets the BDII timeout, used when searching information into BDII. The connection will be aborted if the search is longer than value seconds.
Default: 60 seconds.
- vo
- specifies the Virtual Organization the user belongs to. If it is not specified, the environment variable LCG_GFAL_VO will be used.
- conf_file
- This argument is currently ignored.
- -b,--nobdii
- If this flag is present, it means that you don't want to make BDII calls to get SE type. So, you must provide the type of the SE for srm: arguments, and
full endpoint in SURLs. For SE type, defaulttype can be used (it will be used for both source and destination).
- -v,--verbose
- Verbose mode. You can specify it twice for extra verbose mode.
Note
The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless --nobdii option is
used. To use the RLS as catalog instead of the LFC, the environment variable LCG_CATALOG_TYPE must explicitely be set to "edg". By default, it is set to "lfc".
Example
lcg-lr --vo dteam lfn:/grid/dteam/tests/testjpb_rf10
sfn://lxshare0236.cern.ch/flatfiles/LCG-CERT-SE01/dteam/generated/\
2004-05-11/fileb0f64a56-0f1e-4ed2-993e-631de0bd06bb
srm://lxshare0282.cern.ch//pnfs/cern.ch/data/dteam/testjpb16
Exit Status
This program returns 0 if the operation was successful or >0 if the operation failed.
See Also
lcg-aa(1), lcg-cp(1), lcg-cr(1),
lcg-del(1), lcg-getturls(1), lcg-gt(1), lcg-la(1), lcg-lg(1), lcg-lr(1),
lcg-ls(1), lcg-ra(1), lcg-rep(1), lcg-rf(1), lcg-sd(1), lcg-stmd(1),
lcg-uf(1)
Referenced By
lcg-bringonline(1),
lcg-get-checksum(1)