<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 3, 2018 at 11:20 PM 김경표 <<a href="mailto:kpkim@gluesys.com">kpkim@gluesys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello folks.</div><div><br></div><div></div><div>Few days ago I found my EC(4+2) volume was degraded.</div><div>I am using 3.12.13-1.el7.x86_64. <br></div><div>One brick was down, below is bricklog<br></div><div>I am suspicious loc->inode bug in index.c (see attached picture)</div><div>In GDB, loc->inode is null<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
inode_find (loc->inode->table, loc->gfid);
</div></blockquote></div></div></div></div></div></blockquote><div><br></div><div>I see that loc->inode is coming from resolve_gfid() where the following should have been executed.<br></div><div> 0 resolve_loc->inode = server_inode_new (state->itable, <br> 1 resolve_loc->gfid); <br></div><div><br></div><div>As per the log:</div><div>"[2018-09-29 13:22:36.536579] W [inode.c:680:inode_new] (-->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd048) [0x7f9bd2494048] -->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xc14d) [0x7f9bd249314d] -->/lib64/libglusterfs.so.0(inode_new+0x8a) [0x<br>7f9be70900ba] ) 0-gluvol02-05-server: inode not found"</div><div><br></div><div>it indicates that inode-table is NULL. Is there a possibility to upload the core somewhere for us to take a closer look?<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Thansk for Gluster Community!!!</div><div><br></div><div>- kpkim<br></div><div></div><div><br></div><div>----------------------</div><div>[2018-09-29 13:22:36.536532] W [inode.c:942:inode_find] (-->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd01c) [0x7f9bd249401c] -->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xc638) [0x7f9bd2493638] -->/lib64/libglusterfs.so.0(inode_find+0x92) [<br>0x7f9be7090a82] ) 0-gluvol02-05-server: table not found<br>[2018-09-29 13:22:36.536579] W [inode.c:680:inode_new] (-->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd048) [0x7f9bd2494048] -->/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xc14d) [0x7f9bd249314d] -->/lib64/libglusterfs.so.0(inode_new+0x8a) [0x<br>7f9be70900ba] ) 0-gluvol02-05-server: inode not found<br>[2018-09-29 13:22:36.537568] W [inode.c:2305:inode_is_linked] (-->/usr/lib64/glusterfs/3.12.13/xlator/features/quota.so(+0x4fc6) [0x7f9bd2b1cfc6] -->/usr/lib64/glusterfs/3.12.13/xlator/features/index.so(+0x4bb9) [0x7f9bd2d43bb9] -->/lib64/libglusterfs.so.0(inode_is_linke<br>d+0x8a) [0x7f9be70927ea] ) 0-gluvol02-05-index: inode not found<br>pending frames:<br>frame : type(0) op(18)<br>frame : type(0) op(18)<br>frame : type(0) op(28)<br></div><div>--snip --<br></div><div>frame : type(0) op(28)<br>frame : type(0) op(28)<br>frame : type(0) op(18)<br>patchset: git://<a href="http://git.gluster.org/glusterfs.git" target="_blank">git.gluster.org/glusterfs.git</a><br>signal received: 11<br>time of crash: <br>2018-09-29 13:22:36<br>configuration details:<br>argp 1<br>backtrace 1<br>dlfcn 1<br>libpthread 1<br>llistxattr 1<br>setfsid 1<br>spinlock 1<br>epoll.h 1<br>xattr.h 1<br>st_atim.tv_nsec 1<br>package-string: glusterfs 3.12.13<br>/lib64/libglusterfs.so.0(_gf_msg_backtrace_nomem+0xa0)[0x7f9be70804c0]<br>/lib64/libglusterfs.so.0(gf_print_trace+0x334)[0x7f9be708a3f4]<br>/lib64/libc.so.6(+0x362f0)[0x7f9be56e02f0]<br>/usr/lib64/glusterfs/3.12.13/xlator/features/index.so(+0x4bc4)[0x7f9bd2d43bc4]<br>/usr/lib64/glusterfs/3.12.13/xlator/features/quota.so(+0x4fc6)[0x7f9bd2b1cfc6]<br>/usr/lib64/glusterfs/3.12.13/xlator/debug/io-stats.so(+0x4e53)[0x7f9bd28eee53]<br>/lib64/libglusterfs.so.0(default_lookup+0xbd)[0x7f9be70fddfd]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xc342)[0x7f9bd2493342]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd048)[0x7f9bd2494048]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd2c0)[0x7f9bd24942c0]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xc89e)[0x7f9bd249389e]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0xd354)[0x7f9bd2494354]<br>/usr/lib64/glusterfs/3.12.13/xlator/protocol/server.so(+0x2f829)[0x7f9bd24b6829]<br>/lib64/libgfrpc.so.0(rpcsvc_request_handler+0x96)[0x7f9be6e42246]<br>/lib64/libpthread.so.0(+0x7e25)[0x7f9be5edfe25]<br>/lib64/libc.so.6(clone+0x6d)[0x7f9be57a8bad] <br></div></div></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Pranith<br></div></div></div></div>