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

ossfs挂载后,通过nfs构建server,用作k8s的volume #148

Open
janjangao opened this issue Oct 5, 2021 · 0 comments
Open

ossfs挂载后,通过nfs构建server,用作k8s的volume #148

janjangao opened this issue Oct 5, 2021 · 0 comments

Comments

@janjangao
Copy link

ossfs构建出来的docker镜像,当上传超过1m的文件就会显示0kb,小于1m的文件就没事,尝试了各种办法仍无法解决,后来看到阿里云oss是兼容s3fs,尝试了下,能正常使用, 镜像为 hayond/s3fs-nfs
docker run -d --privileged -e ACCESS_KEY_ID=access_key_id -e SECRET_ACCESS_KEY=secret_access_key -e BUCKET=bucket -e URL=url -p 2049:2049 hayond/s3fs-nfs

我觉得是ossfs的问题,有尝试作nfs分享的朋友,可以试下s3fs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant