[Gluster-devel] add-brick

Emmanuel Dreyfus manu at netbsd.org
Sat Aug 18 09:18:45 UTC 2012

Anand Avati <anand.avati at gmail.com> wrote:

> We need to investigate why there was EINVAL here. Either the resolution
> should have succeeded or returned ENOENT. The rest what follows is probably
> just cascaded effect of this.

Below is the backtrace that gives me EINVAL. Here is the relevant log

[2012-08-18 11:07:10.731719] I [dht-layout.c:593:dht_layout_normalize] 
  1-vndfs-dht: found anomalies in /. holes=1 overlaps=0
[2012-08-18 11:07:10.738617] W [fuse-bridge.c:3597:fuse_migrate_fd] 
  0-glusterfs-fuse: name-less lookup of gfid   
  (b455c82f-1d34-4d48-a540-2c9ec9d51596) failed (Invalid argument)

The mess originates from dht_layout_normalize()/dht_layout_anomalies()
Is there some documentation explaining what it does, so that I can
figure how it goes wrong?

#4  0xbb8117fa in fuse_resolve_gfid_cbk ()
   from /usr/local/lib/glusterfs/3.3git/xlator/mount/fuse.so
#5  0xb9aee7b7 in io_stats_lookup_cbk ()
   from /usr/local/lib/glusterfs/3.3git/xlator/debug/io-stats.so
#6  0xbaa0caa2 in mdc_lookup_cbk ()
   from /usr/local/lib/glusterfs/3.3git/xlator/performance/md-cache.so
#7  0xbaa18f49 in qr_lookup_cbk ()
   from /usr/local/lib/glusterfs/3.3git/xlator/performance/quick-read.so
#8  0xbaa308b8 in ioc_lookup_cbk ()
   from /usr/local/lib/glusterfs/3.3git/xlator/performance/io-cache.so
#9  0xbbb877d8 in default_lookup_cbk (frame=0xbb77f1d0,
    this=0xb91ea000, op_ret=-1, op_errno=22, inode=0x0, buf=0x0,
    postparent=0x0) at defaults.c:37
#10 0xbbb877d8 in default_lookup_cbk (frame=0xbb77f7f0,
    this=0xb91e9000, op_ret=-1, op_errno=22, inode=0x0, buf=0x0,
    postparent=0x0) at defaults.c:37
#11 0xb9ab2982 in dht_discover_complete (this=0xb91e8000, 
    discover_frame=0xba805d88) at dht-common.c:205
#12 0xb9ab2fc1 in dht_discover_cbk (frame=0xba805d88, cookie=0xbb77f390,
    this=0xb91e8000, op_ret=0, op_errno=22, inode=0xb81000d8, 
    stbuf=0xbfbfe874, xattr=0xba404ee0, postparent=0xbfbfe80c)
    at dht-common.c:307
#13 0xbaa6fcbc in client3_1_lookup_cbk (req=0xb85010d8, iov=0xb85010f8,
    count=1, myframe=0xbb77f390) at client3_1-fops.c:2638
#14 0xbbb69706 in rpc_clnt_handle_reply () from
#15 0xbbb699a3 in rpc_clnt_notify () from /usr/local/lib/libgfrpc.so.0
#16 0xbbb65979 in rpc_transport_notify () from
#17 0xbaa9526e in socket_event_poll_in ()
   from /usr/local/lib/glusterfs/3.3git/rpc-transport/socket.so
#18 0xbaa957e5 in socket_event_handler ()
   from /usr/local/lib/glusterfs/3.3git/rpc-transport/socket.so
#19 0xbbbb2607 in event_dispatch_poll_handler (event_pool=0xbb73b080, 
    ufds=0xb91b5040, i=3) at event.c:357
#20 0xbbbb2873 in event_dispatch_poll (event_pool=0xbb73b080) at
#21 0xbbbb2b9f in event_dispatch (event_pool=0xbb73b080) at event.c:947
#22 0x08050163 in main ()

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list