Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I see my files on node ? #171

Open
k8w opened this issue Jan 21, 2021 · 1 comment
Open

Where can I see my files on node ? #171

k8w opened this issue Jan 21, 2021 · 1 comment
Labels
question Further information is requested

Comments

@k8w
Copy link

k8w commented Jan 21, 2021

PVC created by local-path successfully.
PV shows path on the Node is /opt/local-path-provisioner/pvc-b881b372-6543-4cd1-88bc-e7f01c61acf1_test_dsfhsdfhsdfhsdfh

First I execute shell in the Pod, and make a new file to the folder of PVC.

And then I step into the Node, execute:

cd /opt/local-path-provisioner/pvc-b881b372-6543-4cd1-88bc-e7f01c61acf1_test_dsfhsdfhsdfhsdfh
ls -al

Expect can see the file created in Pod, but actually see no files.
But the PVC is really worked, even reboot the Node, restart the Pod, the PVC is worked, the files are keeped.

What I used is the default deploy config.
So what is the actual storage path of these files on Node?

@ivzhh
Copy link

ivzhh commented Feb 24, 2021

Are you using k3s? In that case, you can check /var/lib/rancher/k3s/storage/ too.

@innobead innobead added the question Further information is requested label Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants