Replies: 5 comments
-
input/output errror usually occurs when the object storage fails to be read. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply.
I have checked the path |
Beta Was this translation helpful? Give feedback.
-
You may have enabled the |
Beta Was this translation helpful? Give feedback.
-
You are right. I deleted the cache files in Another question I have is why does this error occur? How can I avoid it as much as possible? |
Beta Was this translation helpful? Give feedback.
-
Read the documentation mentioned above for details |
Beta Was this translation helpful? Give feedback.
-
I created a juicefs file system. It is used for persistent storage of pods in k8s.
I encountered a strange problem:
When I directly mounted juicefs in VM (
juicefs mount -d "mysql://juicefs@(172.x.x.x:3306)/juicefs" /mnt/k8sjfs
), all files can be read normally.However, when I mounted the same path to pod through pv, most of the files can be read normally, but some files cannot be read. When viewing the file, an error is reported: Input/output error
I tried a few possible solutions:
Delete and rebuild the mount pod, the problem still exists.
Start the pod on another node, and the problem still exists.
juicefs version is the same.
Change a pod image, the problem still exists.
In the same path, a new file can be read normally.
According to my attempts, I can solve this problem by rebuilding the problematic files. However, this is not a good solution. Because I don't know when this problem will occur again.
Moreover, the problematic file looks no different from other files in the VM.
I haven't found the same problem in the issues and discussions history, and I don't know how to solve this problem completely. I hope to get some troubleshooting ideas. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions