You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Currently we are using postgres image in our Kubernetes environment, and we use nfs as our data volume solution, that is to say, /var/lib/postgresql/data in postgres image will be mounted to a share folder on nfs server finally, let's say /var/vols/data on nfs server.
The problem is in nfs server configuration, administrator sets the anongid and anonuid to an id that is different with postgres account in docker image, for example, 1999, while the gid and uid of postgres account is 999, and then we got this error: chown: changing ownership of ‘/var/lib/postgresql/data’: Operation not permitted
Any suggested solutions to solve this problem?
Thanks,
Viciss
The text was updated successfully, but these errors were encountered:
Hi,
Currently we are using postgres image in our Kubernetes environment, and we use nfs as our data volume solution, that is to say,
/var/lib/postgresql/data
in postgres image will be mounted to a share folder on nfs server finally, let's say/var/vols/data
on nfs server.The problem is in nfs server configuration, administrator sets the
anongid
andanonuid
to an id that is different with postgres account in docker image, for example, 1999, while the gid and uid ofpostgres
account is 999, and then we got this error:chown: changing ownership of ‘/var/lib/postgresql/data’: Operation not permitted
Any suggested solutions to solve this problem?
Thanks,
Viciss
The text was updated successfully, but these errors were encountered: