Skip to content

Commit 2b92f91

Browse files
committed
Added comment on a rucio command.
1 parent 9d35752 commit 2b92f91

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

_episodes/02-rucio_usage.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ As we can see, the DIDs we have in our list now are all datasets. We can check t
134134
```bash
135135
rucio did content list scope:name
136136
```
137+
137138
e.g.
138139

139140
```bash
@@ -152,6 +153,14 @@ We can check where a specific file in our dataset is stored too:
152153
rucio replica list file --protocols root --pfns --rses isopenaccess epic:/RECO/26.02.0/epic_craterlake/EXCLUSIVE/DEMP/DEMPgen-1.2.4/10x250/q2_3_10/pi+/DEMPgen-1.2.4_10x250_pi+_q2_3_10_ab.0550.eicrecon.edm4eic.root
153154
```
154155

156+
> ## `list file comment:`
157+
> Despite the slightly misleading command above, we can actually just provide a dataset DID here too. If we do so, we will get the location of all files in the dataset in one command, e.g:
158+
>
159+
> ```bash
160+
> rucio replica list file --protocols root --pfns --rses isopenaccess epic:/RECO/26.02.0/epic_craterlake/EXCLUSIVE/DEMP/DEMPgen-1.2.4/10x250/q2_3_10/pi+
161+
> ```
162+
{: .callout}
163+
155164
The `root://dtn-eic.jlab.org` at the start of the output tells us that this particular file is stored on JLab servers. As mentioned in the outset, Rucio works across multiple sites easily, however, methods which we might use to stream files do not. **As such, being able to check where our files are stored is a useful feature.**
156165
157166
So, we can find DIDs, check what they are and what they contain. To get to this point though, we needed some pre-knowledge of what the DID looked like which isn't necessarily that helpful for finding something. However, a much easier approach to finding what we need is to use the metadata tags that are assigned all DIDs from March 2026 onwards.

0 commit comments

Comments
 (0)