Determine the mount point for deep learning experiments
Find the path relative to the Watson Machine Learning Accelerator mounting point for Deep Learning Experiments.
If your data is uploaded to NFS, determine the mount point:
-
Find the PV name:
oc get pvc wmla-mygpfs -o yaml | grep volumeNameFor example, the output returns the PV name:
f:volumeName: {} volumeName: pvc-2007b8f2-cefb-431c-93bc-5b1c69658e69 - Using the PV name, obtain the NFS server
For example, using PV name pvc-2007b8f2-cefb-431c-93bc-5b1c69658e69:oc get pv pv-name -o yaml | grep " path:"
The path to the NFS server is returned:oc get pv pvc-2007b8f2-cefb-431c-93bc-5b1c69658e69 -o yaml | grep " path:"path: /export/share1/wmla-wmla-mygpfs-pvc-2007b8f2-cefb-431c-93bc-5b1c69658e69 - Using the path to the NFS server, the relative path is
path-to-NFS-server/mydatafs.On the NFS server, the path is:/export/share1/wmla-wmla-mygpfs-pvc-2007b8f2-cefb-431c-93bc-5b1c69658e69/mydatafs
If your data is uploaded to a service pod, determine the mount point:
- Get the wmla-dlpd pod:
zhao@mbp$ oc get po | grep wmla-dlpd wmla-dlpd-74d979b5c5-dklgw 2/2 Running 1 (16d ago) 23d - Get the path for the pod:
Here, on the wmla-dlpd service pod, the path is /gpfs/mydatafs/.zhao@mbp$ oc exec -it wmla-dlpd-74d979b5c5-dklgw bash bash-4.4$ ls /gpfs/mydatafs/