[Gluster-users] How to recovery a replicate volume
songxin_1980 at 126.com
Mon Mar 7 02:10:09 UTC 2016
I have a problem about how to recovery a replicate volume.
brick of A board :220.127.116.11:/data/brick/gv0
brick of B board:18.104.22.168:/data/brick/gv0
1.gluster peer probe 22.214.171.124 (on A board)
2.gluster volume create gv0 replica 2 126.96.36.199:/data/brick/gv0 188.8.131.52:/data/brick/gv0 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 184.108.40.206:/data/brick/gv0 force (on A board)
2. gluster peer detach 220.127.116.11 (on A board)
3.gluster peer probe 18.104.22.168 (on A board)
4.gluster volume add-brick gv0 replica 2 22.214.171.124:/data/brick/gv0 force (on A board)
Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users