| name | where-is |
| description | Find a dataset, checkpoint, or file across every lab server — locations, sizes, duplicates. Use for "where is coco", "which server has X", or locating checkpoints and project directories. |
Where is it
Input: a name or pattern. Search cheap-to-expensive; stop once found unless
the user wants every copy.
-
list_datasets per reachable host — scan the top-level report for the name
first; this covers most datasets with zero extra cost.
-
Not there → targeted find on the data roots, capped so slow NFS can't hang:
for r in /data* /scratch "$HOME"/data*; do timeout 30 find "$r" -maxdepth 3 -iname '*<name>*' 2>/dev/null | head -20; done
-
Checkpoints and code: also try -maxdepth 5 under likely project
directories learned from list_sessions cwds.
-
For each hit, get size and freshness (timeout-capped):
ls -ldh <path>; timeout 60 du -sh <path> 2>/dev/null
Report
Table: host · path · size · modified. Note duplicates across hosts. If the
user is deciding where to run something, also note which of the hosts holding
the data currently has free GPUs (list_hosts) — data gravity. If nothing was
found, say exactly where you looked.