<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana"><FONT
face=Verdana color=#000080 size=2>
<DIV>
<DIV>[root@localhost /]# uname -a </DIV>
<DIV>Linux localhost.localdomain 2.6.30 #2 SMP Mon Jul 6 15:35:46 CST 2009 i686 i686 i386 GNU/Linux</DIV></DIV>
<DIV> </DIV>
<DIV>[root@localhost /]# glusterfs -V</DIV>
<DIV>glusterfs 2.0.3 built on Jul 7 2009 13:17:27</DIV>
<DIV>Repository revision: v2.0.3</DIV>
<DIV>Copyright (c) 2006-2009 Z RESEARCH Inc. <http://www.zresearch.com></DIV>
<DIV>GlusterFS comes with ABSOLUTELY NO WARRANTY.</DIV>
<DIV>You may redistribute copies of GlusterFS under the terms of the GNU General Public License.</DIV>
<DIV> </DIV>
<DIV>dmesg |grep fuse </DIV>
<DIV>fuse init (API version 7.11)</DIV>
<DIV> </DIV>
<DIV>[root@localhost /]# grep -i FUSE_MINOR_VERSION /usr/local/include/fuse/fuse_common.h </DIV>
<DIV>#define FUSE_MINOR_VERSION 8</DIV>
<DIV>#define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION)</DIV>
<DIV># undef FUSE_MINOR_VERSION</DIV>
<DIV># define FUSE_MINOR_VERSION 5</DIV>
<DIV># define FUSE_MINOR_VERSION 4</DIV>
<DIV># define FUSE_MINOR_VERSION 1</DIV>
<DIV># define FUSE_MINOR_VERSION 1</DIV>
<DIV> </DIV>
<DIV>
<DIV>[root@localhost /]# cat /var/log/glusterfs/glusterfsd-sever.vol.log </DIV>
<DIV>================================================================================</DIV>
<DIV>Version : glusterfs 2.0.3 built on Jul 7 2009 13:17:27</DIV>
<DIV>TLA Revision : v2.0.3</DIV>
<DIV>Starting Time: 2009-07-07 13:20:50</DIV>
<DIV>Command line : glusterfsd -f glusterfsd-sever.vol </DIV>
<DIV>PID : 20516</DIV>
<DIV>System name : Linux</DIV>
<DIV>Nodename : localhost.localdomain</DIV>
<DIV>Kernel Release : 2.6.30</DIV>
<DIV>Hardware Identifier: i686</DIV>
<DIV></DIV>
<DIV>Given volfile:</DIV>
<DIV>+------------------------------------------------------------------------------+</DIV>
<DIV> 1: </DIV>
<DIV> 2: </DIV>
<DIV> 3: volume posix1</DIV>
<DIV> 4: type storage/posix # POSIX FS translator</DIV>
<DIV> 5: option directory /opt/data1 # Export this directory</DIV>
<DIV> 6: end-volume</DIV>
<DIV> 7: </DIV>
<DIV> 8: volume posix2</DIV>
<DIV> 9: type storage/posix # POSIX FS translator</DIV>
<DIV> 10: option directory /opt/data2 # Export this directory</DIV>
<DIV> 11: end-volume</DIV>
<DIV> 12: </DIV>
<DIV> 13: volume posix3</DIV>
<DIV> 14: type storage/posix # POSIX FS translator</DIV>
<DIV> 15: option directory /opt/data3 # Export this directory</DIV>
<DIV> 16: end-volume</DIV>
<DIV> 17: </DIV>
<DIV> 18: volume posix4</DIV>
<DIV> 19: type storage/posix # POSIX FS translator</DIV>
<DIV> 20: option directory /opt/data4 # Export this directory</DIV>
<DIV> 21: end-volume</DIV>
<DIV> 22: </DIV>
<DIV> 23: volume brick1</DIV>
<DIV> 24: type features/posix-locks</DIV>
<DIV> 25: option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> 26: subvolumes posix1</DIV>
<DIV> 27: end-volume</DIV>
<DIV> 28: </DIV>
<DIV> 29: volume brick2</DIV>
<DIV> 30: type features/posix-locks</DIV>
<DIV> 31: option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> 32: subvolumes posix2</DIV>
<DIV> 33: end-volume</DIV>
<DIV> 34: </DIV>
<DIV> 35: volume brick3</DIV>
<DIV> 36: type features/posix-locks</DIV>
<DIV> 37: option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> 38: subvolumes posix3</DIV>
<DIV> 39: end-volume</DIV>
<DIV> 40: </DIV>
<DIV> 41: volume brick4</DIV>
<DIV> 42: type features/posix-locks</DIV>
<DIV> 43: option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> 44: subvolumes posix4</DIV>
<DIV> 45: end-volume</DIV>
<DIV> 46: </DIV>
<DIV> 47: </DIV>
<DIV> 48: ### Add network serving capability to above brick.</DIV>
<DIV> 49: volume server</DIV>
<DIV> 50: type protocol/server</DIV>
<DIV> 51: option transport-type tcp</DIV>
<DIV> 52: option transport.socket.bind-address 172.16.36.46 # Default is to listen on all interfaces</DIV>
<DIV> 53: option transport.socket.listen-port 6996 # Default is 6996</DIV>
<DIV> 54: subvolumes brick1 brick2 brick3 brick4 </DIV>
<DIV> 55: option auth.addr.brick1.allow * # Allow access to "brick" volume</DIV>
<DIV> 56: option auth.addr.brick2.allow * # Allow access to "brick" volume</DIV>
<DIV> 57: option auth.addr.brick3.allow * # Allow access to "brick" volume</DIV>
<DIV> 58: option auth.addr.brick4.allow * # Allow access to "brick" volume</DIV>
<DIV> 59: end-volume</DIV>
<DIV></DIV>
<DIV>+------------------------------------------------------------------------------+</DIV>
<DIV>[2009-07-07 13:20:50] N [glusterfsd.c:1224:main] glusterfs: Successfully started</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1023</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1022</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1021</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1020</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1019</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1018</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1017</DIV>
<DIV>[2009-07-07 13:21:54] N [server-protocol.c:7055:mop_setvolume] server: accepted client from 172.16.36.46:1016</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1023 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1022 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-helpers.c:782:server_connection_destroy] server: destroyed connection of localhost.localdomain-20523-2009/07/07-13:21:54:191189-client1</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1021 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1020 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-helpers.c:782:server_connection_destroy] server: destroyed connection of localhost.localdomain-20523-2009/07/07-13:21:54:191189-client2</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1019 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1018 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-helpers.c:782:server_connection_destroy] server: destroyed connection of localhost.localdomain-20523-2009/07/07-13:21:54:191189-client4</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1017 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-protocol.c:7815:notify] server: 172.16.36.46:1016 disconnected</DIV>
<DIV>[2009-07-07 13:22:17] N [server-helpers.c:782:server_connection_destroy] server: destroyed connection of localhost.localdomain-20523-2009/07/07-13:21:54:191189-client3</DIV></FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>[root@localhost /]# cat /var/log/glusterfs/mnt.log </DIV>
<DIV>================================================================================</DIV>
<DIV>Version : glusterfs 2.0.3 built on Jul 7 2009 13:17:27</DIV>
<DIV>TLA Revision : v2.0.3</DIV>
<DIV>Starting Time: 2009-07-07 13:21:54</DIV>
<DIV>Command line : glusterfs -f glusterfs-client.vol.nio /mnt </DIV>
<DIV>PID : 20524</DIV>
<DIV>System name : Linux</DIV>
<DIV>Nodename : localhost.localdomain</DIV>
<DIV>Kernel Release : 2.6.30</DIV>
<DIV>Hardware Identifier: i686</DIV>
<DIV></DIV>
<DIV>Given volfile:</DIV>
<DIV>+------------------------------------------------------------------------------+</DIV>
<DIV> 1: ### Add client feature and attach to remote subvolume</DIV>
<DIV> 2: volume client1</DIV>
<DIV> 3: type protocol/client</DIV>
<DIV> 4: option transport-type tcp</DIV>
<DIV> 5: option remote-host 172.16.36.46 # IP address of the remote io</DIV>
<DIV> 6: option remote-port 6996 # default server port is 6996</DIV>
<DIV> 7: option remote-subvolume brick1 # name of the remote volume</DIV>
<DIV> 8: end-volume</DIV>
<DIV> 9: </DIV>
<DIV> 10: volume client2</DIV>
<DIV> 11: type protocol/client</DIV>
<DIV> 12: option transport-type tcp</DIV>
<DIV> 13: option remote-host 172.16.36.46 # IP address of the remote io</DIV>
<DIV> 14: option remote-port 6996 # default server port is 6996</DIV>
<DIV> 15: option remote-subvolume brick2 # name of the remote volume</DIV>
<DIV> 16: end-volume</DIV>
<DIV> 17: </DIV>
<DIV> 18: volume client3</DIV>
<DIV> 19: type protocol/client</DIV>
<DIV> 20: option transport-type tcp</DIV>
<DIV> 21: option remote-host 172.16.36.46 # IP address of the remote io</DIV>
<DIV> 22: option remote-port 6996 # default server port is 6996</DIV>
<DIV> 23: option remote-subvolume brick3 # name of the remote volume</DIV>
<DIV> 24: end-volume</DIV>
<DIV> 25: </DIV>
<DIV> 26: </DIV>
<DIV> 27: volume client4</DIV>
<DIV> 28: type protocol/client</DIV>
<DIV> 29: option transport-type tcp</DIV>
<DIV> 30: option remote-host 172.16.36.46 # IP address of the remote io</DIV>
<DIV> 31: option remote-port 6996 # default server port is 6996</DIV>
<DIV> 32: option remote-subvolume brick4 # name of the remote volume</DIV>
<DIV> 33: end-volume</DIV>
<DIV> 34: </DIV>
<DIV> 35: </DIV>
<DIV> 36: </DIV>
<DIV> 37: #volume afr2</DIV>
<DIV> 38: # type cluster/afr</DIV>
<DIV> 39: # subvolumes client2 client4</DIV>
<DIV> 40: #end-volume</DIV>
<DIV> 41: </DIV>
<DIV> 42: volume dht</DIV>
<DIV> 43: type cluster/dht</DIV>
<DIV> 44: option min-free-disk 20%</DIV>
<DIV> 45: subvolumes client1 client2 </DIV>
<DIV> 46: end-volume</DIV>
<DIV> 47: </DIV>
<DIV> 48: </DIV>
<DIV> 49: </DIV>
<DIV> 50: ### Add readahead feature</DIV>
<DIV> 51: volume readahead</DIV>
<DIV> 52: type performance/read-ahead</DIV>
<DIV> 53: option page-count 16 # cache per file = (page-count x page-size)</DIV>
<DIV> 54: subvolumes dht </DIV>
<DIV> 55: end-volume</DIV>
<DIV> 56: </DIV>
<DIV> 57: ### Add IO-Cache feature</DIV>
<DIV> 58: volume iocache</DIV>
<DIV> 59: type performance/io-cache</DIV>
<DIV> 60: option page-size 256KB</DIV>
<DIV> 61: subvolumes readahead </DIV>
<DIV> 62: end-volume</DIV>
<DIV> 63: </DIV>
<DIV> 64: ### Add writeback feature</DIV>
<DIV> 65: volume writeback</DIV>
<DIV> 66: type performance/write-behind</DIV>
<DIV> 67: option cache-size 32MB</DIV>
<DIV> 68: option flush-behind on</DIV>
<DIV> 69: subvolumes iocache </DIV>
<DIV> 70: end-volume</DIV>
<DIV></DIV>
<DIV>+------------------------------------------------------------------------------+</DIV>
<DIV>[2009-07-07 13:21:54] W [client-protocol.c:5935:init] client4: Volume is dangling. </DIV>
<DIV>[2009-07-07 13:21:54] W [client-protocol.c:5935:init] client3: Volume is dangling. </DIV>
<DIV>[2009-07-07 13:21:54] W [glusterfsd.c:470:_log_if_option_is_invalid] iocache: option 'page-size' is not recognized</DIV>
<DIV>[2009-07-07 13:21:54] N [glusterfsd.c:1224:main] glusterfs: Successfully started</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client1: Connected to 172.16.36.46:6996, attached to remote volume 'brick1'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client1: Connected to 172.16.36.46:6996, attached to remote volume 'brick1'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client2: Connected to 172.16.36.46:6996, attached to remote volume 'brick2'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client2: Connected to 172.16.36.46:6996, attached to remote volume 'brick2'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client4: Connected to 172.16.36.46:6996, attached to remote volume 'brick4'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client4: Connected to 172.16.36.46:6996, attached to remote volume 'brick4'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client3: Connected to 172.16.36.46:6996, attached to remote volume 'brick3'.</DIV>
<DIV>[2009-07-07 13:21:54] N [client-protocol.c:5559:client_setvolume_cbk] client3: Connected to 172.16.36.46:6996, attached to remote volume 'brick3'.</DIV>
<DIV>pending frames:</DIV>
<DIV>frame : type(1) op(READ)</DIV>
<DIV>frame : type(1) op(READ)</DIV>
<DIV>frame : type(1) op(READ)</DIV>
<DIV></DIV>
<DIV>patchset: v2.0.3</DIV>
<DIV>signal received: 11</DIV>
<DIV>configuration details:argp 1</DIV>
<DIV>backtrace 1</DIV>
<DIV>dlfcn 1</DIV>
<DIV>fdatasync 1</DIV>
<DIV>libpthread 1</DIV>
<DIV>llistxattr 1</DIV>
<DIV>setfsid 1</DIV>
<DIV>spinlock 1</DIV>
<DIV>epoll.h 1</DIV>
<DIV>xattr.h 1</DIV>
<DIV>st_atim.tv_nsec 1</DIV>
<DIV>package-string: glusterfs 2.0.3</DIV>
<DIV>[0xffffe400]</DIV>
<DIV>/usr/local/lib/libfuse.so.2(fuse_session_process+0x17)[0xb779725f]</DIV>
<DIV>/lib/glusterfs/2.0.3/xlator/mount/fuse.so[0xb77c5e8a]</DIV>
<DIV>/lib/tls/libpthread.so.0[0x8bc341]</DIV>
<DIV>/lib/tls/libc.so.6(__clone+0x5e)[0x74e6fe]</DIV>
<DIV>---------</DIV></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>[root@localhost /]# gdb glusterfs core.20524 </DIV>
<DIV>GNU gdb Red Hat Linux (6.3.0.0-1.63rh)</DIV>
<DIV>Copyright 2004 Free Software Foundation, Inc.</DIV>
<DIV>GDB is free software, covered by the GNU General Public License, and you are</DIV>
<DIV>welcome to change it and/or distribute copies of it under certain conditions.</DIV>
<DIV>Type "show copying" to see the conditions.</DIV>
<DIV>There is absolutely no warranty for GDB. Type "show warranty" for details.</DIV>
<DIV>This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".</DIV>
<DIV></DIV>
<DIV>Reading symbols from shared object read from target memory...done.</DIV>
<DIV>Loaded system supplied DSO at 0xffffe000</DIV>
<DIV>Core was generated by `glusterfs -f glusterfs-client.vol.nio /mnt'.</DIV>
<DIV>Program terminated with signal 11, Segmentation fault.</DIV>
<DIV></DIV>
<DIV>warning: svr4_current_sos: Can't read pathname for load map: 输入/输出错误</DIV>
<DIV></DIV>
<DIV>Reading symbols from /lib/libglusterfs.so.0...done.</DIV>
<DIV>Loaded symbols for /lib/libglusterfs.so.0</DIV>
<DIV>Reading symbols from /lib/libdl.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/libdl.so.2</DIV>
<DIV>Reading symbols from /lib/tls/libpthread.so.0...done.</DIV>
<DIV>Loaded symbols for /lib/tls/libpthread.so.0</DIV>
<DIV>Reading symbols from /lib/tls/libc.so.6...done.</DIV>
<DIV>Loaded symbols for /lib/tls/libc.so.6</DIV>
<DIV>Reading symbols from /lib/ld-linux.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/ld-linux.so.2</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/protocol/client.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/protocol/client.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/cluster/dht.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/cluster/dht.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/performance/read-ahead.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/performance/read-ahead.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/performance/io-cache.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/performance/io-cache.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/performance/write-behind.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/performance/write-behind.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/xlator/mount/fuse.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/xlator/mount/fuse.so</DIV>
<DIV>Reading symbols from /usr/local/lib/libfuse.so.2...done.</DIV>
<DIV>Loaded symbols for /usr/local/lib/libfuse.so.2</DIV>
<DIV>Reading symbols from /lib/tls/librt.so.1...done.</DIV>
<DIV>Loaded symbols for /lib/tls/librt.so.1</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3/transport/socket.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3/transport/socket.so</DIV>
<DIV>Reading symbols from /lib/libnss_files.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/libnss_files.so.2</DIV>
<DIV>Reading symbols from /lib/libgcc_s.so.1...done.</DIV>
<DIV>Loaded symbols for /lib/libgcc_s.so.1</DIV>
<DIV>#0 0xb7795c73 in fuse_ll_process (data=0x80591d0, buf=0xb801f000 "8", len=56, ch=0xb6600718) at fuse_lowlevel.c:1049</DIV>
<DIV>1049 if (curr->u.i.unique == req->unique) {</DIV>
<DIV>(gdb) bg</DIV>
<DIV>Undefined command: "bg". Try "help".</DIV>
<DIV>(gdb) bt</DIV>
<DIV>#0 0xb7795c73 in fuse_ll_process (data=0x80591d0, buf=0xb801f000 "8", len=56, ch=0xb6600718) at fuse_lowlevel.c:1049</DIV>
<DIV>#1 0xb779725f in fuse_session_process (se=0xb6600718, buf=0xb801f000 "8", len=56, ch=0x8058e98) at fuse_session.c:80</DIV>
<DIV>#2 0xb77c5e8a in fuse_thread_proc (data=0x804fd18) at fuse-bridge.c:2480</DIV>
<DIV>#3 0x008bc341 in start_thread () from /lib/tls/libpthread.so.0</DIV>
<DIV>#4 0x0074e6fe in clone () from /lib/tls/libc.so.6</DIV></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT color=#000080>The error seem only happened "read"
operation ,i write files into gluster no error .</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-07-07 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>eagleeyes</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Harshavardhana
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-07-07 13:08:43
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> eagleeyes </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> Anand Avati; gluster-users
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [Gluster-users] Error :
gluster2.0.0 with fuse2.8 inkernel2.6.30 </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Eagleeyes,<BR><BR> Please
install the latest 2.0.3 release. From the log file i see glusterfs
version under use is 2.0.0 which is not supported for fuse 2.8.0 and it will
segfault as shown. <BR><BR>Regards<BR>--<BR clear=all>Harshavardhana<BR>Z
Research Inc <A
href="http://www.zresearch.com/">http://www.zresearch.com/</A><BR><BR><BR>
<DIV class=gmail_quote>On Tue, Jul 7, 2009 at 9:43 AM, eagleeyes <SPAN
dir=ltr><<A href="mailto:eagleeyes@126.com">eagleeyes@126.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>
<DIV>gluster2.0.3rc2 ,kernel 2.6.30
in SUSE Linux Enterprise Server 10 SP1 (i586)
</DIV>
<DIV>
<DIV class=im>
<DIV> </DIV>
<DIV>fuse init (API version 7.11)</DIV></DIV>
<DIV> FUSE_MINOR_VERSION 8 </DIV></DIV>
<DIV> </DIV>
<DIV>gfs1:/ # gdb glusterfs core </DIV>
<DIV>GNU gdb 6.6</DIV>
<DIV>Copyright (C) 2006 Free Software Foundation, Inc.</DIV>
<DIV>GDB is free software, covered by the GNU General Public License, and you are</DIV>
<DIV>welcome to change it and/or distribute copies of it under certain conditions.</DIV>
<DIV>Type "show copying" to see the conditions.</DIV>
<DIV>There is absolutely no warranty for GDB. Type "show warranty" for details.</DIV>
<DIV>This GDB was configured as "i586-suse-linux"...</DIV>
<DIV>Using host libthread_db library "/lib/libthread_db.so.1".</DIV>
<DIV></DIV>
<DIV>warning: Can't read pathname for load map: Input/output error.</DIV>
<DIV>Reading symbols from /lib/libglusterfs.so.0...done.</DIV>
<DIV>Loaded symbols for /lib/libglusterfs.so.0</DIV>
<DIV>Reading symbols from /lib/libdl.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/libdl.so.2</DIV>
<DIV>Reading symbols from /lib/libpthread.so.0...done.</DIV>
<DIV>Loaded symbols for /lib/libpthread.so.0</DIV>
<DIV>Reading symbols from /lib/libc.so.6...done.</DIV>
<DIV>Loaded symbols for /lib/libc.so.6</DIV>
<DIV>Reading symbols from /lib/ld-linux.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/ld-linux.so.2</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/protocol/client.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/protocol/client.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/cluster/dht.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/cluster/dht.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/performance/read-ahead.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/performance/read-ahead.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/performance/io-cache.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/performance/io-cache.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/performance/write-behind.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/performance/write-behind.so</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/xlator/mount/fuse.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/xlator/mount/fuse.so</DIV>
<DIV>Reading symbols from /usr/local/lib/libfuse.so.2...done.</DIV>
<DIV>Loaded symbols for /usr/local/lib/libfuse.so.2</DIV>
<DIV>Reading symbols from /lib/librt.so.1...done.</DIV>
<DIV>Loaded symbols for /lib/librt.so.1</DIV>
<DIV>Reading symbols from /lib/glusterfs/2.0.3rc2/transport/socket.so...done.</DIV>
<DIV>Loaded symbols for /lib/glusterfs/2.0.3rc2/transport/socket.so</DIV>
<DIV>Reading symbols from /lib/libnss_files.so.2...done.</DIV>
<DIV>Loaded symbols for /lib/libnss_files.so.2</DIV>
<DIV>Reading symbols from /lib/libgcc_s.so.1...done.</DIV>
<DIV>Loaded symbols for /lib/libgcc_s.so.1</DIV>
<DIV>Core was generated by `glusterfs -f /etc/glusterfs/glusterfs-client.vol.dht --disable-direct-io-mode /'.</DIV>
<DIV>Program terminated with signal 11, Segmentation fault.</DIV>
<DIV>#0 0xb7584d38 in fuse_ll_process (data=0x805b6a8, buf=0xb7cae000 "Y?", len=16217, ch=0x805b348) at fuse_lowlevel.c:1049</DIV>
<DIV>1049 if (curr->u.i.unique == req->unique) {</DIV>
<DIV>(gdb) bt</DIV>
<DIV>#0 0xb7584d38 in fuse_ll_process (data=0x805b6a8, buf=0xb7cae000 "Y?", len=16217, ch=0x805b348) at fuse_lowlevel.c:1049</DIV>
<DIV>#1 0xb7587b56 in fuse_session_process (se=0x805b540, buf=0xb7cae000 "Y?", len=16217, ch=0x805b348) at fuse_session.c:80</DIV>
<DIV>#2 0xb75b5e25 in fuse_thread_proc (data=0x804fd18) at fuse-bridge.c:2480</DIV>
<DIV>#3 0xb7f652ab in start_thread () from /lib/libpthread.so.0</DIV>
<DIV>#4 0xb7efca4e in clone () from /lib/libc.so.6</DIV>
<DIV>(gdb) exit</DIV></FONT></DIV>
<DIV class=im>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-07-07 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>eagleeyes</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><B>发件人:</B> Anand Avati </FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2><B>发送时间:</B> 2009-07-07 11:44:28
</FONT></DIV>
<DIV class=im>
<DIV><FONT face=Verdana size=2><B>收件人:</B> eagleeyes </FONT></DIV>
<DIV><FONT face=Verdana size=2><B>抄送:</B> gluster-users </FONT></DIV>
<DIV><FONT face=Verdana size=2><B>主题:</B> Re: [Gluster-users] Error :
gluster2.0.0 with fuse2.8 inkernel2.6.30 </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT></DIV></DIV>
<DIV class=im>
<DIV><FONT face=Verdana size=2>
<DIV></DIV>
<DIV>> </DIV>
<DIV>> I want to use java nio with mmap ,so had to updata kernel 2.6.27 or</DIV>
<DIV>> newer . The fuse in kernel 2.6.30 is api 7.11 .</DIV>
<DIV>> </DIV>
<DIV>> How can i give your details with gdb? what should i do ?</DIV>
<DIV></DIV>
<DIV>Do you have a file in your system / with a name like /core.XXXX ? If you do, run this command -</DIV>
<DIV></DIV>
<DIV>sh$ gdb glusterfs /core.XXX</DIV>
<DIV>...</DIV>
<DIV>(gdb) bt</DIV>
<DIV></DIV>
<DIV>and give us the output.</DIV>
<DIV></DIV>
<DIV>Thanks,</DIV>
<DIV></DIV>
<DIV>Avati</DIV></FONT></DIV></DIV></DIV><BR>_______________________________________________<BR>Gluster-users
mailing list<BR><A
href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</A><BR><A
href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users"
target=_blank>http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</A><BR><BR></BLOCKQUOTE></DIV><BR></FONT></DIV></BODY></HTML>