<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Thanks for your reply.</div><div><br></div><div>Do I need check all files in&nbsp;<span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;">/var/lib/glusterd/*?&nbsp;</span></div><div><span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;">Must all files be  same in A node and B node?</span></div><div><span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;"><br></span></div><div>I found that the size of file&nbsp;<span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;"> /var/lib/glusterd/snaps/.nfs0000000001722f4000000002 is 0 bytes after A board reboot.</span></div><div><span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;">So glusterd can't restore by this snap file on A node.</span></div><div><span style="font-family: arial; line-height: 23.8px; white-space: pre-wrap;">Is it right?</span></div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2016-02-25 18:25:50, "Atin Mukherjee" &lt;amukherj@redhat.com&gt; wrote:
&gt;I believe you and Abhishek are from the same group and sharing the
&gt;common set up. Could you check the content of /var/lib/glusterd/* in
&gt;board B (post reboot and before starting glusterd) matches with
&gt;/var/lib/glusterd/* from board A?
&gt;
&gt;~Atin
&gt;
&gt;On 02/25/2016 03:48 PM, songxin wrote:
&gt;&gt; Hi,
&gt;&gt; I have a problem as below when I start the gluster after reboot a board.
&gt;&gt; 
&gt;&gt; precondition: 
&gt;&gt; I use two boards do this test.
&gt;&gt; The version of glusterfs is 3.7.6.
&gt;&gt; 
&gt;&gt; A board ip:128.224.162.255 
&gt;&gt; B board ip:128.224.95.140 
&gt;&gt; 
&gt;&gt; reproduce steps£º
&gt;&gt; 
&gt;&gt; 1.systemctl start glusterd (A board) 
&gt;&gt; 2.systemctl start glusterd (B board) 
&gt;&gt; 3.gluster peer probe 128.224.95.140 (A board) 
&gt;&gt; 4.gluster volume create gv0 replica 2 128.224.95.140:/tmp/brick1/gv0
&gt;&gt; 128.224.162.255:/data/brick/gv0 force (local board)
&gt;&gt; 5.gluster volume start gv0 (A board) 
&gt;&gt; 6.press the reset button on the A board.It is a develop board so it has
&gt;&gt; a reset button that is similar to reset button on pc (A board) 
&gt;&gt; 7.run command "systemctl start glusterd" after A board reboot. And
&gt;&gt; command failed because the file /var/lib/glusterd/snaps/.nfsxxxxxxxxx
&gt;&gt; (local board) .
&gt;&gt; Log is as below.
&gt;&gt; [2015-12-07 07:55:38.260084] E [MSGID: 101032]
&gt;&gt; [store.c:434:gf_store_handle_retrieve] 0-: Path corresponding to
&gt;&gt; /var/lib/glusterd/snaps/.nfs0000000001722f4000000002
&gt;&gt; [2015-12-07 07:55:38.260120] D [MSGID: 0]
&gt;&gt; [store.c:439:gf_store_handle_retrieve] 0-: Returning -1                
&gt;&gt;                                               
&gt;&gt; [2015-12-07 07:55:38.260152] E [MSGID: 106200]
&gt;&gt; [glusterd-store.c:3332:glusterd_store_update_snap] 0-management: snap
&gt;&gt; handle is NULL                                 
&gt;&gt; [2015-12-07 07:55:38.260180] E [MSGID: 106196]
&gt;&gt; [glusterd-store.c:3427:glusterd_store_retrieve_snap] 0-management:
&gt;&gt; Failed to update snapshot for .nfs0000000001722f40
&gt;&gt; [2015-12-07 07:55:38.260208] E [MSGID: 106043]
&gt;&gt; [glusterd-store.c:3589:glusterd_store_retrieve_snaps] 0-management:
&gt;&gt; Unable to restore snapshot: .nfs0000000001722f400
&gt;&gt; [2015-12-07 07:55:38.260241] D [MSGID: 0]
&gt;&gt; [glusterd-store.c:3607:glusterd_store_retrieve_snaps] 0-management:
&gt;&gt; Returning with -1                              
&gt;&gt; [2015-12-07 07:55:38.260268] D [MSGID: 0]
&gt;&gt; [glusterd-store.c:4339:glusterd_restore] 0-management: Returning -1    
&gt;&gt;                                                  
&gt;&gt; [2015-12-07 07:55:38.260325] E [MSGID: 101019]
&gt;&gt; [xlator.c:428:xlator_init] 0-management: Initialization of volume
&gt;&gt; 'management' failed, review your volfile again    
&gt;&gt; [2015-12-07 07:55:38.260355] E [graph.c:322:glusterfs_graph_init]
&gt;&gt; 0-management: initializing translator failed                            
&gt;&gt;                          
&gt;&gt; [2015-12-07 07:55:38.260374] E [graph.c:661:glusterfs_graph_activate]
&gt;&gt; 0-graph: init failed                                 
&gt;&gt; 
&gt;&gt; 8.rm /var/lib/glusterd/snaps/.nfsxxxxxxxxx (A board) 
&gt;&gt; 9..run command "systemctl start glusterd" and success. 
&gt;&gt; 10.at this point the peer status is Peer in Cluster (Connected) and all
&gt;&gt; process is online. 
&gt;&gt; 
&gt;&gt; If a node abnormal reset, must I remove
&gt;&gt; the  /var/lib/glusterd/snaps/.nfsxxxxxx before starting the glusterd?
&gt;&gt; 
&gt;&gt; I want to know if it is nomal.
&gt;&gt; 
&gt;&gt; Thanks,
&gt;&gt; Xin
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt;  
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; _______________________________________________
&gt;&gt; Gluster-users mailing list
&gt;&gt; Gluster-users@gluster.org
&gt;&gt; http://www.gluster.org/mailman/listinfo/gluster-users
&gt;&gt; 
</pre></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>