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

Documention on Using NFS Mounts #3948

Open
ranchodeluxe opened this issue Jul 1, 2024 · 1 comment
Open

Documention on Using NFS Mounts #3948

ranchodeluxe opened this issue Jul 1, 2024 · 1 comment

Comments

@ranchodeluxe
Copy link

ranchodeluxe commented Jul 1, 2024

Overview

I'm struggling to get PGO working with an NFS mount. I see lots of old links showing that there used to be documentation and examples. Maybe there is more documentation that I'm not seeing? I guess I'd love to see more docs around this type of thing with examples

Use Case

PGO working with NFS mount for instances and backups

Desired Behavior

PGO working with NFS mount for instances and backups

Environment

  • Platform: Rancher
  • Platform Version: 1.27.3
  • PGO Image Tag: ubi8-16.3-3.4-0
  • Postgres Version 16
  • Storage: nfs
  • Number of Postgres clusters: 1

Additional Information

Most of my questions and problems seem to be around whether or not I'd need some kind of init container to set the correct permissions on the NFS mount. Seems like I'd have to do that

2024-07-02 15:08:36.355 UTC [53054] FATAL:  data directory "/pgdata/pg16" has wrong ownership
2024-07-02 15:08:36.355 UTC [53054] HINT:  The server must be started by the user that owns the data directory.
child process exited with exit code 1
initdb: removing data directory "/pgdata/pg16"
initdb: removing WAL directory "/pgdata/pg16_wal"
@ranchodeluxe
Copy link
Author

Now that I've looked through much of the documentation online I see value examples in this section and warnings about NFS and setting permissions in this section

Still think it would valuable to have all this information about NFS located in one place with a simple example of how to change permissions given there doesn't seem to be any init container option for instances or backups.

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