Listing Sites

Last update: 23 Aug 2024 [History] [Edit]

Sometimes it is useful to know where a particular dataset (or replica) is physically stored. To get the list of all sites known to rucio, referred to as Rucio Storage Elements (RSE), type:

rucio list-rses

This will give you an output like:

AGLT2_CALIBDISK
AGLT2_DATADISK
AGLT2_LOCALGROUPDISK
...
ZA-WITS-CORE_LOCALGROUPDISK
ZA-WITS-CORE_PRODDISK
ZA-WITS-CORE_SCRATCHDISK

It is possible to further restrict the possible results by adding an expression argument, such as:

rucio list-rses --expression "cloud=UK"

To find the locations of particular files, datasets or containers (in fact any DID object), then the following commands can be used:

rucio list-dataset-replicas <scope>:<name>

or

rucio list-file-replicas <scope>:<name>

In fact the list-file-replicas options should work for any DID (e.g., files, datasets, … ).

Exercise

Find the locations of the data15_13TeV dataset of which you listed the contents in the previous section.

Instructions

Use the command:

rucio list-dataset-replicas  data15_13TeV:data15_13TeV.00276329.physics_Main.merge.AOD.f620_m1480

tip Note that your results may vary from those shown below, depending on when the command was run.

DATASET: data15_13TeV:data15_13TeV.00276329.physics_Main.merge.AOD.f620_m1480
+--------------------------+---------+---------+
| RSE                      |   FOUND |   TOTAL |
|--------------------------+---------+---------|
| AUSTRALIA-ATLAS_DATADISK |    1474 |    1474 |
| CERN-PROD_DERIVED        |    1474 |    1474 |
+--------------------------+---------+---------+