[Gluster-users] cannot start a gluster volume

Thing thing.thing at gmail.com
Thu Oct 13 23:20:06 UTC 2016


I deleted a gluster volume gv0 as I wanted to make it thin provisioned.

I have rebuilt "gv0" but I am getting a failure,

==========
[root at glusterp1 /]# df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/centos-root         20G  3.9G   17G  20% /
devtmpfs                       1.8G     0  1.8G   0% /dev
tmpfs                          1.8G   12K  1.8G   1% /dev/shm
tmpfs                          1.8G  8.9M  1.8G   1% /run
tmpfs                          1.8G     0  1.8G   0% /sys/fs/cgroup
/dev/mapper/centos-tmp         3.9G   33M  3.9G   1% /tmp
/dev/mapper/centos-home         50G   41M   50G   1% /home
/dev/mapper/centos-data1       120G   33M  120G   1% /data1
/dev/sda1                      997M  312M  685M  32% /boot
/dev/mapper/centos-var          20G  401M   20G   2% /var
tmpfs                          368M     0  368M   0% /run/user/1000
/dev/mapper/vol_brick1-brick1  100G   33M  100G   1% /brick1
[root at glusterp1 /]# mkdir /brick1/gv0
[root at glusterp1 /]# gluster volume create gv0 replica 3
glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0
volume create: gv0: failed: Host glusterp3 is not in 'Peer in Cluster' state
[root at glusterp1 /]# gluster peer probe glusterp3
peer probe: success. Host glusterp3 port 24007 already in peer list
[root at glusterp1 /]# gluster volume create gv0 replica 3
glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0
volume create: gv0: failed: /brick1/gv0 is already part of a volume
[root at glusterp1 /]# gluster volume start gv0
volume start: gv0: failed: Volume gv0 does not exist
[root at glusterp1 /]# gluster volume create gv0 replica 3
glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0 --force
unrecognized option --force
[root at glusterp1 /]# gluster volume create gv0 replica 3
glusterp1:/brick1/gv0 glusterp2:/brick1/gv0 glusterp3:/brick1/gv0
volume create: gv0: failed: /brick1/gv0 is already part of a volume
[root at glusterp1 /]#
==========

Obviously something isnt happy here but I have no idea what.......

how to fix this please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161014/87aa0d4c/attachment.html>


More information about the Gluster-users mailing list