Skip to content

Need Help Getting Volumes Mounted #1

Description

@TuRDMaN

Thanks so much for this!

I'm just having a little bit of trouble getting it fully working, but I'm sure it's me not using it correctly.

My test setup is using a master and a worker on raspberry pis without docker, and then 2 unraid workers using this docker container.

I used your docker run example.

This was my volume create command (which was successful):
gluster volume create vol1 replica 4 master:/mnt/cache/swarm/brick worker:/mnt/cache/swarm/brick UNRAIDworker1:/gluster/brick UNRAIDworker2:/gluster/brick force

That will successfully create the volume, and I can see the files created on the raspberry pi nodes showing up in /gluster/brick in my docker containers (and on the unRAID host). But no volumes are getting mounted in /mnt/cache/swarm

Am I missing something?

SOLVED: Yep, stupid mistake on my part. I had to create /mnt/cache/swarm/vol1 on my unRAID host before starting the container. Now everything is working correctly!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions