Accessing Latch Data in a Pod
Latch Pods provides direct access to all files stored on Latch Data.
Pod Data Mounting Defaults
By default your workspace Latch Data will be mounted on any Pod created in that workspace. The Latch Data filesystem is mounted at the /ldata
and a shortcut is created in the default directory in Jupyter Labs at /root/my_latch_data
.
If your Latch Data is not mounted or has no shortcut symlink by default look below for instructions on how to do that manually.
Manually Mounting your Latch Data and Creating a Symlink
-
To mount Latch Data onto Pods, run:
mount-ldata
-
By default, Latch Data will be available under the
/ldata
folder in the Pod. -
To display the content of
/ldata
under the/root
folder, you can create a symlink with:ln -s /ldata /root
-
To ensure Latch Data is automatically mounted when Pods start in the future, enable the LData FUSE automount service:
systemctl enable latch-ldata-automount systemctl start latch-ldata-automount
Was this page helpful?