[Gluster-devel] 3.0.7 segfaults on startup

Reinis Rozitis r at roze.lv
Thu Feb 3 12:52:56 UTC 2011


Hello,
I tried to upgrade from 3.0.5 but it kinda crashes immideatly.

BTW is 3.0.x branch still supported at any level or 3.1.x is suggested on 
production systems?
Also is it fine to use 3.1.x without the elastic management features (eg not 
making the pool for example) but the old fashioned way of writing the 
configuration yourself?  As tried the latest 3.1.2 and it kinda crashed 
similar way only GIT checkout release worked but gave sometimes strange 
inconsistent directory readings (like sudenly there was merge of 2 different 
directories) with something like:

[2011-02-02 05:22:30.407925] E [posix.c:497:posix_lookup] posix: lstat on 
/gallery/233/957/10233957.jpg/1273473504_4046392.jpg failed: Not a directory
[2011-02-02 05:22:30.408344] W [fuse-bridge.c:190:fuse_entry_cbk] 
glusterfs-fuse: 5026901: LOOKUP() 
/gallery/233/957/10233957.jpg/1273473504_4046392.jpg => -1 (Not a directory)

so I had to fallback to original 3.0.5.




The setup is kinda simple 2 big storage nodes which are also clients 
themselves.


OpenSuse 11.1
libfuse2-2.8.4-2.6
fuse-2.8.4-2.6


>From the log:

Version      : glusterfs 3.0.7 built on Feb  3 2011 13:11:14
git: v3.0.7
Starting Time: 2011-02-03 13:44:51
Command line : /data/gluster/sbin/glusterfsd /data/storage
PID          : 28942
System name  : Linux
Nodename     : store224
Kernel Release : 2.6.31-44-default
Hardware Identifier: x86_64

Given volfile:
+------------------------------------------------------------------------------+
  1: volume posix
  2:   type storage/posix
  3:   option directory /mnt/storage
  4: end-volume
  5:
  6: volume locks
  7:   type features/locks
  8:   subvolumes posix
  9: end-volume
10:
11: volume brick
12:   type performance/io-threads
13:   option thread-count 16
14:   subvolumes locks
15: end-volume
16:
17: volume server
18:  type protocol/server
19:  option transport-type tcp
20:  option transport.socket.nodelay on
21:  option auth.addr.brick.allow *
22:  subvolumes brick
23: end-volume
24:
25: volume remote
26:   type protocol/client
27:   option transport-type tcp
28:   option remote-host 192.168.0.225
29:   option transport.socket.nodelay on
30:   option remote-subvolume brick
31: end-volume
32:
33: volume replicate
34:   type cluster/replicate
35:   option read-subvolume locks
36:   option favorite-child locks
37:   subvolumes locks remote
38: end-volume


+------------------------------------------------------------------------------+
[2011-02-03 13:44:51] W [afr.c:2961:init] replicate: You have specified 
subvolume 'locks' as the 'favorite child'. This means that if a discrepancy 
in the content or attributes (ownership, permission, etc.) of a file is 
detected among the subvolumes, the file on 'locks' will be considered the 
definitive version and its contents will OVERWRITE the contents of the file 
on other subvolumes. All versions of the file except that on 'locks' WILL BE 
LOST.
[2011-02-03 13:44:51] N [afr.c:2662:notify] replicate: Subvolume 'locks' 
came back up; going online.
[2011-02-03 13:44:51] N [afr.c:2662:notify] replicate: Subvolume 'locks' 
came back up; going online.
[2011-02-03 13:44:51] N [fuse-bridge.c:2953:fuse_init] glusterfs-fuse: FUSE 
inited with protocol versions: glusterfs 7.13 kernel 7.12
[2011-02-03 13:44:51] N [afr.c:2662:notify] replicate: Subvolume 'locks' 
came back up; going online.
[2011-02-03 13:44:51] N [glusterfsd.c:1423:main] glusterfs: Successfully 
started
[2011-02-03 13:44:51] E [socket.c:802:socket_connect_finish] remote: 
connection to  failed (Connection refused)
[2011-02-03 13:44:51] E [socket.c:802:socket_connect_finish] remote: 
connection to  failed (Connection refused)
pending frames:

patchset: v3.0.7
signal received: 11
time of crash: 2011-02-03 13:44:54
configuration details:
argp 1
backtrace 1
dlfcn 1
fdatasync 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.0.7
/lib64/libc.so.6[0x7f94ece386e0]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_changelog_post_op+0x277)[0x7f94eb9647c7]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_transaction_resume+0x55)[0x7f94eb965195]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_writev_wind_cbk+0xea)[0x7f94eb95db2a]
/data/gluster/lib/glusterfs/3.0.7/xlator/features/locks.so(pl_writev_cbk+0x7d)[0x7f94ec1e3c0d]
/data/gluster/lib/glusterfs/3.0.7/xlator/storage/posix.so(posix_writev+0x2c9)[0x7f94ec3f79e9]
/data/gluster/lib/glusterfs/3.0.7/xlator/features/locks.so(pl_writev+0x144)[0x7f94ec1e5174]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_writev_wind+0x162)[0x7f94eb95d1d2]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_changelog_pre_op_cbk+0x10f)[0x7f94eb962f3f]
/data/gluster/lib/libglusterfs.so.0(default_fxattrop_cbk+0x79)[0x7f94ed599729]
/data/gluster/lib/glusterfs/3.0.7/xlator/storage/posix.so(do_xattrop+0x3c0)[0x7f94ec3f4760]
/data/gluster/lib/glusterfs/3.0.7/xlator/storage/posix.so(posix_fxattrop+0x14)[0x7f94ec3f4bf4]
/data/gluster/lib/libglusterfs.so.0(default_fxattrop+0xe2)[0x7f94ed599672]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_changelog_pre_op+0x4f7)[0x7f94eb963567]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so[0x7f94eb963bcb]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_lock_cbk+0x62)[0x7f94eb964242]
/data/gluster/lib/glusterfs/3.0.7/xlator/features/locks.so(pl_common_inodelk+0x393)[0x7f94ec1e8e03]
/data/gluster/lib/glusterfs/3.0.7/xlator/features/locks.so(pl_finodelk+0x1d)[0x7f94ec1e964d]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so[0x7f94eb963b59]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_transaction+0x1ad)[0x7f94eb9644dd]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_do_writev+0x1f2)[0x7f94eb95eb52]
/data/gluster/lib/glusterfs/3.0.7/xlator/cluster/replicate.so(afr_writev+0x3fd)[0x7f94eb95f04d]
/data/gluster/lib/glusterfs/3.0.7/xlator/mount/fuse.so[0x7f94eb733e2d]
/data/gluster/lib/glusterfs/3.0.7/xlator/mount/fuse.so[0x7f94eb72f0c1]
/lib64/libpthread.so.0[0x7f94ed166070]
/lib64/libc.so.6(clone+0x6d)[0x7f94eced913d]



wbr
Reinis Rozitis 





More information about the Gluster-devel mailing list