<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>I have a problem as below when I start the gluster after reboot a board.</div><div><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">precondition:&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">I use two boards do this test.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">The version of glusterfs is 3.7.6.</span></div><div><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">A board ip:128.224.162.255&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">B board ip:128.224.95.140&nbsp;</span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><br></span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">reproduce steps£º</span></div><div><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">1.systemctl start glusterd (A board)&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">2.systemctl start glusterd (B board)&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">3.gluster peer probe 128.224.95.140 (A board)&nbsp;</span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">4.gluster volume create gv0 replica 2 128.224.95.140:/tmp/brick1/gv0 128.224.162.255:/data/brick/gv0 force (local board)</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">5.gluster volume start gv0 (A board)&nbsp;</span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">6.press the reset button on the A board.It is a develop board so it has a reset button that is similar to reset button on pc (A board)&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">7.run command "systemctl start glusterd" after A board reboot. And command failed because the file /var/lib/glusterd/snaps/.nfsxxxxxxxxx (local board)&nbsp;.</span></div><div><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">Log is as below.</span></div><div><div>[2015-12-07 07:55:38.260084] E [MSGID: 101032] [store.c:434:gf_store_handle_retrieve] 0-: Path corresponding to /var/lib/glusterd/snaps/.nfs0000000001722f4000000002</div><div>[2015-12-07 07:55:38.260120] D [MSGID: 0] [store.c:439:gf_store_handle_retrieve] 0-: Returning -1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>[2015-12-07 07:55:38.260152] E [MSGID: 106200] [glusterd-store.c:3332:glusterd_store_update_snap] 0-management: snap handle is NULL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>[2015-12-07 07:55:38.260180] E [MSGID: 106196] [glusterd-store.c:3427:glusterd_store_retrieve_snap] 0-management: Failed to update snapshot for .nfs0000000001722f40</div><div>[2015-12-07 07:55:38.260208] E [MSGID: 106043] [glusterd-store.c:3589:glusterd_store_retrieve_snaps] 0-management: Unable to restore snapshot: .nfs0000000001722f400</div><div>[2015-12-07 07:55:38.260241] D [MSGID: 0] [glusterd-store.c:3607:glusterd_store_retrieve_snaps] 0-management: Returning with -1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>[2015-12-07 07:55:38.260268] D [MSGID: 0] [glusterd-store.c:4339:glusterd_restore] 0-management: Returning -1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>[2015-12-07 07:55:38.260325] E [MSGID: 101019] [xlator.c:428:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again &nbsp; &nbsp;</div><div>[2015-12-07 07:55:38.260355] E [graph.c:322:glusterfs_graph_init] 0-management: initializing translator failed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>[2015-12-07 07:55:38.260374] E [graph.c:661:glusterfs_graph_activate] 0-graph: init failed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div></div><div><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">8.rm /var/lib/glusterd/snaps/.nfsxxxxxxxxx (A board)&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">9..run command "systemctl start glusterd" and success.&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">10.at this point the peer status is Peer in Cluster (Connected) and all process is online.&nbsp;</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><br><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);">If a node abnormal reset, must I remove the&nbsp;</span><span style="line-height: 23.8px;">&nbsp;/var/lib/glusterd/snaps/.nfsxxxxxx before starting the glusterd?</span><br><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; line-height: 20px; background-color: rgb(245, 245, 245);"><font color="#333333" face="Arial, sans-serif"><span style="line-height: 20px; background-color: rgb(245, 245, 245);">I want to know if it is nomal.</span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="line-height: 20px; background-color: rgb(245, 245, 245);"><br></span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="line-height: 20px; background-color: rgb(245, 245, 245);">Thanks,</span></font></div><div><font color="#333333" face="Arial, sans-serif"><span style="line-height: 20px; background-color: rgb(245, 245, 245);">Xin</span></font></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><br><br><pre>
</pre></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>