Re: [Gluster-users] How to recover after one node breakdown

2016-03-21 Thread songxin
/lib/gluster/ and create a >>>> glusterd.info in dirctory /var/lib/glusterd/ based on peers of A node on >>>> B node? >>>> 2.how to sync the two bricks?Can heal full work? >>>> 3."heal full" must be run on the node whose uuid is biggest in v

Re: [Gluster-users] How to recover after one node breakdown

2016-03-21 Thread Atin Mukherjee
gt;>> 3."heal full" must be run on the node whose uuid is biggest in volume? >>> >>> >>> >>> Thanks, >>> Xin >>> >>> >>> >>> >>> At 2016-03-19 02:25:58, "Gaurav Garg" <gg...@redhat

Re: [Gluster-users] How to recover after one node breakdown

2016-03-21 Thread songxin
ode (which is in good condition) execute #gluster peer status >>>>command and copy the uuid from the peer status (you will see one failed >>>>node entry with hostname and uuid) and replace this UUID in node file >>>>/var/lib/glusterd/glusterd.info >>>

Re: [Gluster-users] How to recover after one node breakdown

2016-03-21 Thread Atin Mukherjee
>>Regards, >>Gaurav >> >>----- Original Message - >>From: "songxin" <songxin_1...@126.com> >>To: "Gaurav Garg" <gg...@redhat.com> >>Cc: "gluster-user" <gluster-users@gluster.org>, "Al

Re: [Gluster-users] How to recover after one node breakdown

2016-03-20 Thread songxin
Thank you very much for your reply. In fact it is that I use a new node ,of which rootfs is new , to replace the failed node. And the new node has same IP address with the failed one. The brick is on a external hard disk.Because the hard disk is mounted on the node ,so the data on the brick

Re: [Gluster-users] How to recover after one node breakdown

2016-03-19 Thread songxin
new node. >6) your volume will recover. >> >above steps are mandatory steps to recover failed node. > >Thanks, > >Regards, >Gaurav > >- Original Message - >From: "songxin" <songxin_1...@126.com> >To: "Alastair Neil" <ajneil.

Re: [Gluster-users] How to recover after one node breakdown

2016-03-19 Thread Gaurav Garg
--- From: "songxin" <songxin_1...@126.com> To: "Alastair Neil" <ajneil.t...@gmail.com> Cc: gluster-users@gluster.org Sent: Thursday, March 17, 2016 8:56:58 AM Subject: Re: [Gluster-users] How to recover after one node breakdown Thank you very much for your reply. In

Re: [Gluster-users] How to recover after one node breakdown

2016-03-19 Thread Gaurav Garg
--- From: "songxin" <songxin_1...@126.com> To: "Alastair Neil" <ajneil.t...@gmail.com> Cc: gluster-users@gluster.org Sent: Thursday, March 17, 2016 8:56:58 AM Subject: Re: [Gluster-users] How to recover after one node breakdown Thank you very much for your reply. In

Re: [Gluster-users] How to recover after one node breakdown

2016-03-18 Thread Alastair Neil
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.

[Gluster-users] How to recover after one node breakdown

2016-03-18 Thread songxin
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

Re: [Gluster-users] How to recover after one node breakdown

2016-03-18 Thread songxin
ile with having uuid of 1st node and hostname of 1st >>node. >>5) now start glusterd on new node. >>6) your volume will recover. >>> >>above steps are mandatory steps to recover failed node. >> >>Thanks, >> >>Regards, >>Gaurav >&g