data didn't persist
which folder should I put my files in if I want them to persist across deployments?
I've started my pod from Storage > Select existing disk > Deploy
I've left my files in /workspace
Now that folder is not listed through SSH dir, or with VS Code
13 Replies
I've read this https://docs.runpod.io/pods/storage/create-network-volumes
and this https://blog.runpod.io/four-reasons-to-set-up-a/
But the doc isn't very clear to me. I still have plenty of funds so that's not the issue.
Create a network volume | RunPod Documentation
Create a network volume.
RunPod Blog
Four Reasons To Set Up A Network Volume In the RunPod Secure Cloud
Network Storage is a new RunPod feature (currently in beta) that works with our Secure Cloud data center-hosted pods. Normally, volumes for pods are destroyed irrecoverably after you terminate the pod, but this allows storage to persist and even be reassigned to different pods if needed. Here are several reasons
Hm in pods?
in /runpod-volume or /workspace
Solution
oh its /workspace for pods
runpod-volume path from root path is for network volumes mounted into serverless workers
are you in /workspace?
and is the network volume attached to the pod you're using ssh at?
how about in the pod's terminal or jupyter are the /workspace path mounted yet?
I've selected the disk before provisioning the GPU, so I was assuming that it would be loaded automatically.
lsblk
Then
sudo mount /dev/sdb1 /mnt/mydisk
Would work?Network storage is attached automatically
So what's the path? How do I access it? In my case, all I had were folders starting with a dot, most likely related to Jupyter Notebook setup
Start without dot: /workspace
It's mounted in that folder
/workspace/
I'll try that next time, thank you.
Alright