We want to store the state of a notebook in NFS so that if the container dies, all of the vital state is persistent and minimal work is lost.
There have been a couple of different proposals for how EFS should be laid out and how bind mounts should work. It's gotten confusing for me, so I'm summarizing them here to see if I understand them correctly.
Note on terminology - Notebook with a capital 'N' refers to the Determined concept of a Notebook which is an instance of JupyterLab. notebook with a lowercase 'n' refers to a Jupyter notebook (a .ipynb
).
In all cases, there will be a directory on EFS called /shared-data
that will be bind-mounted to the jupyterlab container at /shared-data
. It can be used to share datasets (or anything else) between every Notebook that runs in Determined.