Re: How to recover after one node breakdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux