Comments (9)
I should test more the case when the plugin volume count is disconnected form docker count.
It should be possible to use force remove of volume in the meantime.
from docker-volume-gluster.
A forced remove didn't work, what I had to do was reinstall the plugin, then the volumes where gone
from docker-volume-gluster.
Hi,
I have a same issue.
I tried create volume with this command (use multiple servers option)
NODE1=$(docker inspect gluster_node-1_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
NODE2=$(docker inspect gluster_node-2_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
NODE3=$(docker inspect gluster_node-3_1 | grep '"IPAddress"' | egrep -o "[0-9+\.]+")
docker volume create --driver sapk/plugin-gluster --opt voluri="$NODE1,$NODE2,$NODE3:dockerstore" --name dockerstore
And use it
docker-recipes]$ docker run -v dockerstore:/mnt --rm -ti ubuntu
> docker: Error response from daemon: VolumeDriver.Mount: EOF
I try remove the volume with (steps) :
# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest dockerstore
# Try remove volume
docker volume rm dockerstore
Error response from daemon: unable to remove volume: remove dockerstore: VolumeDriver.Remove: remove /var/lib/docker-volumes/gluster/dockerstore: no such file or directory
# Try force remove volume
docker volume rm -f dockerstore
dockerstore
# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest dockerstore
# Try disable plugin
docker plugin disable sapk/plugin-gluster:latest
# Try Show volume (not present)
docker volume ls | grep dockerstore
# Enable plugin
docker plugin enable sapk/plugin-gluster:latest
# Show volume
docker volume ls | grep dockerstore
> sapk/plugin-gluster:latest dockerstore
Note: I have also tried restart docker daemon
from docker-volume-gluster.
@badele Thx for the debug I think I may know what happen or at least find a way to not block the removal.
from docker-volume-gluster.
@badele can you echo "$NODE1,$NODE2,$NODE3:dockerstore" to check the format ?
from docker-volume-gluster.
@sapk docker volume create --driver sapk/plugin-gluster --opt voluri=172.19.0.4,172.19.0.3,172.19.0.2:dockerstore --name dockerstore
from docker-volume-gluster.
What I can't understand is how the folder could not exist ... since it should failed at volume creation if it can't create the folder.
from docker-volume-gluster.
Ii'm not sure, but I believe, i have that received a error during volume creation, but despite all the volume has been created.
from docker-volume-gluster.
The EOF error reported make me think that it would be the SaveConfig (for persistencce) that failed the volume there after disable so persistence works ...
I think, I could add a --no-persitence tag (with env also)
from docker-volume-gluster.
Related Issues (20)
- mount gluster volume in docker service HOT 2
- VolumeDriver.Mount: exit status 1 HOT 2
- VolumeDriver.Mount: exit status 1 HOT 12
- Feature: creation of sub directory into glusterfs volume HOT 11
- And more context to exit status 1 errors. HOT 1
- simple getting started guide HOT 7
- I am unable to remove the volume even with -f HOT 6
- VolumeDriver.Mount: exit status 107 HOT 21
- docker volume rm fails on an unmounted volume HOT 7
- Cannot "docker volume rm" volumes created with sapk/docker-volume-gluster HOT 3
- Any reason why 'old' branch is set to default? HOT 4
- Add support for glusterd2
- Create a swarm env for tests
- Add option to disable persistence
- Verify gluster version
- raspberry pi build HOT 11
- mounting sub dirs
- docker: Error response from daemon: VolumeDriver.Mount: EOF. HOT 2
- containers/create HOT 13
- Is it supposed to automatically create the specified subdir?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-volume-gluster.