[Gluster-users] How to recovery a replicate volume

songxin songxin_1980 at 126.com
Mon Mar 7 02:10:09 UTC 2016

Hi all,
I have a problem about how to recovery a replicate volume.

glusterfs version:3.7.6
brick of A board :
brick of B board:

1.gluster peer probe                                                                                                                                                 (on A board)
2.gluster volume create gv0 replica 2 force                                  (on A board)
3.gluster volume start gv0                                                                                                                                                                    (on A board)
4.reboot the B board

After B board reboot,sometimes I have problems as below.
1.the peer status some times is rejected when I run "gluster peer status".                                                                                         (on A or B board)          
2.The brick on B board sometimes is offline When I run "gluster volume status"                                                                               (on A or B board) 

I want to know how I should do to recovery my replicate volume. 

Now I do following operation to recovery my replicate volume.But sometimes I can't sync all the files in replicate volume even if I run "heal full".
1.gluster volume remove-brick gv0 replica 1 force                                                                            (on A board)
2. gluster peer detach                                                                                                                                                (on A board)
3.gluster peer probe                                                                                                                                                  (on A board)
4.gluster volume add-brick gv0 replica 2 force                                                                                  (on A board)            

Please help me.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160307/ff0b481a/attachment.html>

More information about the Gluster-users mailing list