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

k8s 部署opengauss单实例,挂载/var/lib/opengauss/到nfs,发现opengauss/data目录权限跟随了nfs目录权限777,导致启动失败 #43

Open
PeppaO opened this issue Jul 10, 2024 · 2 comments

Comments

@PeppaO
Copy link

PeppaO commented Jul 10, 2024

k8s 部署opengauss单实例,挂载/var/lib/opengauss/到nfs,发现opengauss/data目录权限跟随了nfs目录权限777,导致启动失败,如何解决?
尝试使用初始化容器修改data目录权限,发现在主容器启动时,该目录又被重新创建并覆盖了,导致权限不能更改为700,无法启动成功

@PeppaO
Copy link
Author

PeppaO commented Jul 10, 2024

@kamusis

@kamusis
Copy link
Contributor

kamusis commented Jul 10, 2024

能否发来启动失败的报错截图?我的印象里似乎宿主机目录权限为777,并不会影响容器数据库的启动。

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

2 participants