Hi, Now I face a problem. Reproduc step is as below. 1.I create a replicate volume using two brick on two board 2.start the volume 3.one board is breakdown and all files in the rootfs ,including /var/lib/glusterd/*,are lost. 4.reboot the board and ip is not change. My question: How to recovery the replicate volume? Thanks, Xin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160316/8c9ec254/attachment.html>
Alastair Neil
2016-Mar-16 20:54 UTC
[Gluster-users] How to recover after one node breakdown
hopefully you have a back up of /var/lib/glusterd/glusterd.info and /var/lib/glusterd/peers, if so I think you can copy them back to and restart glusterd and the volume info should get populated from the other node. If not you can probably reconstruct these from these files on the other node. i.e: On the unaffected node the peers directory should have an entry for the failed node containing the uuid of the failed node. The glusterd.info file should enable you to recreate the peer file on the failed node. On 16 March 2016 at 09:25, songxin <songxin_1980 at 126.com> wrote:> Hi, > Now I face a problem. > Reproduc step is as below. > 1.I create a replicate volume using two brick on two board > 2.start the volume > 3.one board is breakdown and all > files in the rootfs ,including /var/lib/glusterd/*,are lost. > 4.reboot the board and ip is not change. > > My question: > How to recovery the replicate volume? > > Thanks, > Xin > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160316/ef38b986/attachment.html>