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
Solution:
oh its /workspace for pods
Jump to solution
13 Replies
💰💰
💰💰OP•13mo ago
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.
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
💰💰
💰💰OP•13mo ago
No description
💰💰
💰💰OP•13mo ago
~# ls -lh
total 0
~# ls -lh
total 0
Jason
Jason•13mo ago
Hm in pods? in /runpod-volume or /workspace
Solution
Jason
Jason•13mo ago
oh its /workspace for pods
Jason
Jason•13mo ago
runpod-volume path from root path is for network volumes mounted into serverless workers
Jason
Jason•13mo ago
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?
💰💰
💰💰OP•13mo ago
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?
Madiator2011
Madiator2011•13mo ago
Network storage is attached automatically
💰💰
💰💰OP•13mo ago
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
Jason
Jason•13mo ago
Start without dot: /workspace It's mounted in that folder /workspace/
💰💰
💰💰OP•13mo ago
I'll try that next time, thank you.
Jason
Jason•13mo ago
Alright

Did you find this page helpful?