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
PervasiveUncertainty
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
PervasiveUncertainty
~# ls -lh
total 0
~# ls -lh
total 0
nerdylive
nerdylive8mo ago
Hm in pods? in /runpod-volume or /workspace
Solution
nerdylive
nerdylive8mo ago
oh its /workspace for pods
nerdylive
nerdylive8mo ago
runpod-volume path from root path is for network volumes mounted into serverless workers
nerdylive
nerdylive8mo 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?
PervasiveUncertainty
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
Madiator20118mo ago
Network storage is attached automatically
PervasiveUncertainty
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
nerdylive
nerdylive8mo ago
Start without dot: /workspace It's mounted in that folder /workspace/
PervasiveUncertainty
I'll try that next time, thank you.
nerdylive
nerdylive8mo ago
Alright
Want results from more Discord servers?
Add your server