[Gluster-users] Can't create volume. Can't delete volume. Volume does not exist. Can't create volume.

Ernie Dunbar maillist at lightspeed.ca
Tue Feb 10 23:08:09 UTC 2015


 

I'm just going to paste this here to see if it drives you as mad as it
does me.

I'm trying to re-create a new volume in gluster. The old volume is empty
and can be removed. And besides that, this is just an experimental
server that isn't in production just yet. Who cares. I just want to
start over again because it's not working.

root at nfs1:/home/ernied# gluster
gluster> vol create gv0 replica 2 nfs1:/brick1/gv0 nfs2:/brick1/gv0
volume create: gv0: failed: /brick1/gv0 is already part of a volume
gluster> vol in
No volumes present
gluster> root at nfs1:/home/ernied# ^C
root at nfs1:/home/ernied# rm -r /brick1/gv0
root at nfs1:/home/ernied# gluster
gluster> vol create gv0 replica 2 nfs1:/brick1/gv0 nfs2:/brick1/gv0
volume create: gv0: failed: Host nfs2 is not in 'Peer in Cluster' state
gluster> peer probe nfs2
peer probe: success. Host nfs2 port 24007 already in peer list
gluster> volume list
No volumes present in cluster
gluster> volume delete gv0
Deleting volume will erase all information about the volume. Do you want
to continue? (y/n) y
volume delete: gv0: failed: Volume gv0 does not exist
gluster> vol create gv0 replica 2 nfs1:/brick1/gv0 nfs2:/brick1/gv0
volume create: gv0: failed: /brick1/gv0 is already part of a volume
gluster> vol create evil replica 2 nfs1:/brick1/gv0 nfs2:/brick1/gv0
volume create: evil: failed: /brick1/gv0 is already part of a volume
gluster> 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150210/8c28f8ac/attachment.html>


More information about the Gluster-users mailing list