-
Hi! Is there a way to list the files (LFNs and their PFNs) on a given SE? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
if you use the DFC, You don't get the PFN, given that in principle, the PFN aren't in the catalog. But you can construct them trivially in a second step. |
Beta Was this translation helpful? Give feedback.
-
FYI, I'll very soon upload some dump comparison tools in DIRAC. |
Beta Was this translation helpful? Give feedback.
-
You can easily dump all the LFNs having replicas in a given SE with the dfind command. To see LFNs under a certain PATH you do:
|
Beta Was this translation helpful? Give feedback.
-
@chaen By the way, this should also work for LHCb as well, especially now that COMDIRAC is merged into the Core DIRAC |
Beta Was this translation helpful? Give feedback.
if you use the DFC,
getSEDump
is what you wantDIRAC/src/DIRAC/Resources/Catalog/FileCatalogClient.py
Line 660 in 93de7f3
You don't get the PFN, given that in principle, the PFN aren't in the catalog. But you can construct them trivially in a second step.