How can I know all the replicas stored on a given Storage Element ?


The "lfc_listreplicax" method allows to do this : it lists all the replica entries stored in the LFC for a given server.

It is available in :

  • the LFC C API,
  • the LFC Python interface,
  • the LFC Perl interface

See man lfc_listreplicax.


This method is based on the host field in the Cns_file_replica table.

But be aware that some VOs don't store the actual server machine name in the host field !

For instance, in its LFC central server, LHCb stores CERN_Castor instead of


In the future, srmLs can be used too. But it has to be implemented for all Storage Element types first.

Help !

For further help, contact (remove the NONSPAM !). Your ROC will help you, and contact the appropriate experts if needed.

-- SophieLemaitre - 10 Aug 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2006-08-11 - SophieLemaitre
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback