volume mounted juicefs folder into docker and get input/output error in the container when accessing #4814
Replies: 4 comments
-
if I cant hello.txt.txt it pauses for about 20 seconds then shows
|
Beta Was this translation helpful? Give feedback.
-
if I exit out of the container all access is fine |
Beta Was this translation helpful? Give feedback.
-
Actually im wrong, in the LXC container I can't cat the file or head the movie, input/outpu error. However the proxmox host is fine so maybe its something to do with LXC? 🤔 |
Beta Was this translation helpful? Give feedback.
-
think I fixed it, had to set the AWS_REGION env var in the lxc container then mount it, and then restart the docker container and then it finally worked. 🤷🏻♂️ 😀 |
Beta Was this translation helpful? Give feedback.
-
On the host (lxc) I can mount the juicefs folder and access all the files fine.
If I then mount it as a volume in docker, if I exec to the container, I'm able to brows the files and folders and run ls command etc, but if I try and open a file or cat a file I just get an input/output error.
All perms seem good and I've made sure allow_other is setup in fuse etc.
Bit stumped at what to try next, tried redis and postgres for meta thinking it might be that but its the same with either.
Anyone got any ideas what to try next?
Thanks,
Jon.
Beta Was this translation helpful? Give feedback.
All reactions