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

Is it supposed to automatically create the specified subdir? #59

Open
criverapr opened this issue Feb 26, 2020 · 0 comments
Open

Is it supposed to automatically create the specified subdir? #59

criverapr opened this issue Feb 26, 2020 · 0 comments

Comments

@criverapr
Copy link

criverapr commented Feb 26, 2020

I was trying this tutorial: https://sysadmins.co.za/container-persistent-storage-for-docker-swarm-using-a-glusterfs-volume-plugin/

My GlusterFS version is 3.13.2. I'm not sure if it is just a permissions issue, but when I try this in my compose file:

volumes:
  vol1:
    driver: glusterfs
    name: "gfs/vol1"

The container doesn't have the gluster mount, but if I do the following:

volumes:
  vol1:
    driver: glusterfs
    name: "gfs"

It works fine, but the data is put into the root of the volume. The first option works fine if I create the "vol1" directory before running the stack, and this is why I think it may just be a permissions issue. What should be the permissions set at the filesystem level on the gluster volume mount?

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