[Gluster-users] ERROR in glusterfs2.0.4 using afr+dht

eagleeyes eagleeyes at 126.com
Wed Aug 19 03:28:48 UTC 2009


HI all:
     My glusterfs  storage was using for xen images , which configure afr+dht ,but had some  error 
  
    the core error message  was :
   
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /lib/libglusterfs.so.0...done.
Loaded symbols for /lib/libglusterfs.so.0
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/glusterfs/2.0.4/xlator/protocol/client.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/protocol/client.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/cluster/afr.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/cluster/afr.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/cluster/dht.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/cluster/dht.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/performance/write-behind.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/performance/write-behind.so
Reading symbols from /lib/glusterfs/2.0.4/xlator/mount/fuse.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/xlator/mount/fuse.so
Reading symbols from /usr/local/lib/libfuse.so.2...done.
Loaded symbols for /usr/local/lib/libfuse.so.2
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib/glusterfs/2.0.4/transport/socket.so...done.
Loaded symbols for /lib/glusterfs/2.0.4/transport/socket.so
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Core was generated by `glusterfs -f /etc/glusterfs/glusterfs-client.vol.dht.afr --disable-direct-io-mo'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b3606936aa3 in afr_readdir_cbk (frame=0x2aaaab005b50, cookie=0x2aaaab005a60, this=<value optimized out>, op_ret=-1, 
    op_errno=77, buf=0x0) at afr-dir-read.c:188
188                     buf->d_ino = afr_itransform (buf->d_ino, priv->child_count,
(gdb) bt
#0  0x00002b3606936aa3 in afr_readdir_cbk (frame=0x2aaaab005b50, cookie=0x2aaaab005a60, this=<value optimized out>, op_ret=-1, 
    op_errno=77, buf=0x0) at afr-dir-read.c:188
#1  0x00002b360681c993 in client_readdir (frame=0x2aaaab005a60, this=0x50ec40, fd=0x51c050, size=4096, offset=0)
    at client-protocol.c:2491
#2  0x00002b3606936be7 in afr_readdir_cbk (frame=0x2aaaab005b50, cookie=<value optimized out>, this=<value optimized out>, 
    op_ret=-1, op_errno=77, buf=0x0) at afr-dir-read.c:179
#3  0x00002b360681c993 in client_readdir (frame=0x2aaaab004410, this=0x50e7b0, fd=0x51c050, size=4096, offset=0)
    at client-protocol.c:2491
#4  0x00002b36069368e5 in afr_readdir (frame=0x2aaaab005b50, this=<value optimized out>, fd=0x51c050, size=4096, offset=0)
    at afr-dir-read.c:242
#5  0x00002b3606a6ccdf in dht_readdir_cbk (frame=0x508890, cookie=0x1472a8b0, this=0x50fb70, op_ret=0, op_errno=0, 
    orig_entries=0x7fffa51b1dd0) at dht-common.c:2169
#6  0x00002b3606936ae7 in afr_readdir_cbk (frame=0x1472a8b0, cookie=<value optimized out>, this=<value optimized out>, op_ret=0, 
    op_errno=0, buf=0x7fffa51b1dd0) at afr-dir-read.c:191
#7  0x00002b3606815ff5 in client_readdir_cbk (frame=0x1472b340, hdr=0x2aaaecd7d410, hdrlen=<value optimized out>, 
    iobuf=<value optimized out>) at client-protocol.c:4387
#8  0x00002b3606811b1a in protocol_client_pollin (this=0x50d7b0, trans=0x513400) at client-protocol.c:6169
#9  0x00002b3606818572 in notify (this=0x2aaaab005b50, event=<value optimized out>, data=0x513400) at client-protocol.c:6213
#10 0x00002aaaaaaaff93 in socket_event_handler (fd=<value optimized out>, idx=1, data=0x513400, poll_in=1, poll_out=0, poll_err=0)
    at socket.c:814
#11 0x00002b3605a38eb5 in event_dispatch_epoll (event_pool=0x508300) at event.c:804
#12 0x0000000000403cca in main (argc=7, argv=0x7fffa51b2d18) at glusterfsd.c:1226

configure file was :

volume client1
  type protocol/client
  option transport-type tcp
  option remote-host 10.1.69.6        # IP address of the remote brick3
  option remote-port 7003
  option remote-subvolume brick3       # name of the remote volume
end-volume

volume client2
  type protocol/client
  option transport-type tcp
  option remote-host 10.1.69.7         # IP address of the remote brick3
  option remote-port 7003
  option remote-subvolume brick3       # name of the remote volume
end-volume

volume client3
  type protocol/client
  option transport-type tcp
  option remote-host 10.1.69.8      # IP address of the remote brick3
  option remote-port 7003
  option remote-subvolume brick3       # name of the remote volume
end-volume

volume client4
  type protocol/client
  option transport-type tcp
  option remote-host 10.1.69.9      # IP address of the remote brick3
  option remote-port 7003
  option remote-subvolume brick3       # name of the remote volume
end-volume

volume afr1
  type cluster/afr
  subvolumes client1 client2
end-volume

volume afr2
  type cluster/afr
  subvolumes client3 client4
end-volume

volume dht
  type cluster/dht
  option min-free-disk 10%  
  subvolumes afr1 afr2 
end-volume

volume writeback
  type performance/write-behind
  option flush-behind on
  option cache-size 64MB
  subvolumes dht   
end-volume
2009-08-19 



eagleeyes 


More information about the Gluster-users mailing list