[Gluster-users] glusterfsd crashes when using quota translator

Peter Mueller pm at gloud.de
Wed Jul 28 15:09:44 UTC 2010


Hi,

i tried to use the quota translator to limit the storage for a specific volume. I can mount the volume and see the limit with df. But as soon as i try to create a file on my mounted volume, the glusterfsd crashes.

Configuration and Logs:

================================================================================
Version      : glusterfs 3.0.0 built on Jul 23 2010 16:45:59
git: 2.0.1-886-g8379edd
Starting Time: 2010-07-25 19:27:56
Command line : /sbin/glusterfsd -f /etc/glusterfs/glusterfsd.vol
PID          : 27113
System name  : Linux
Nodename     : inst-209.install.de
Kernel Release : 2.6.18-194.el5
Hardware Identifier: x86_64

Given volfile:
+------------------------------------------------------------------------------+
  1:
  2: volume v8705-posix
  3:   type storage/posix
  4:   option directory /data/v8705
  5: end-volume
  6:
  7: volume v8705-quota
  8:   type features/quota
  9:   option disk-usage-limit 100GB
 10:   subvolumes v8705-posix
 11: end-volume
 12:
 13: volume v8705-brick
 14:   type features/locks
 15:   subvolumes v8705-quota
 16: end-volume
 17:
 18: volume v8704-posix
 19:   type storage/posix
 20:   option directory /data/v8704
 21: end-volume
 22:
 23: volume v8704-quota
 24:   type features/quota
 25:   option disk-usage-limit 100GB
 26:   subvolumes v8704-posix
 27: end-volume
 28:
 29: volume v8704-brick
 30:   type features/locks
 31:   subvolumes v8704-quota
 32: end-volume
 33:
 34:
 35: volume server
 36:   type protocol/server
 37:   option transport-type tcp
 38:   option listen-port 6996
 39:   option bind-address 10.0.1.122
 40:
 41:   option auth.login.v8705-brick.allow v8705
 42:   option auth.login.v8705.password xxxxxxxx
 43:
 44:   option auth.login.v8704-brick.allow v8704
 45:   option auth.login.v8704.password xxxxxxxx
 46:
 47:   subvolumes v8705-brick v8704-brick
 48:
 49: end-volume

+------------------------------------------------------------------------------+
[2010-07-25 19:27:56] W [xlator.c:655:validate_xlator_volume_options] server: option 'bind-address' is deprecated, preferred is 'transport.socket.bind-address', continuing with correction
[2010-07-25 19:27:56] W [xlator.c:655:validate_xlator_volume_options] server: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction
[2010-07-25 19:27:56] N [glusterfsd.c:1361:main] glusterfs: Successfully started
[2010-07-25 19:27:58] N [server-protocol.c:5809:mop_setvolume] server: accepted client from 10.0.1.145:1023
[2010-07-25 19:27:58] N [server-protocol.c:5809:mop_setvolume] server: accepted client from 10.0.1.145:1022
[2010-07-25 19:28:34] N [server-protocol.c:5809:mop_setvolume] server: accepted client from 10.0.1.122:1022
[2010-07-25 19:28:34] N [server-protocol.c:5809:mop_setvolume] server: accepted client from 10.0.1.122:1023
pending frames:
frame : type(1) op(UNLINK)
frame : type(1) op(UNLINK)

patchset: 2.0.1-886-g8379edd
signal received: 11
time of crash: 2010-07-25 19:28:49
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.0
/lib64/libc.so.6[0x3b870302d0]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_unlink_cbk+0xd5)[0x2ae3d57b4235]
/usr/local/lib/libglusterfs.so.0[0x2ae3d46c9604]
/usr/local/lib/glusterfs/3.0.0/xlator/features/quota.so(quota_unlink_cbk+0x95)[0x2ae3d538a955]
/usr/local/lib/glusterfs/3.0.0/xlator/storage/posix.so(posix_unlink+0x1f3)[0x2ae3d517e613]
/usr/local/lib/glusterfs/3.0.0/xlator/features/quota.so(quota_unlink_stat_cbk+0xd4)[0x2ae3d5389234]
/usr/local/lib/glusterfs/3.0.0/xlator/storage/posix.so(posix_stat+0x137)[0x2ae3d517f9b7]
/usr/local/lib/glusterfs/3.0.0/xlator/features/quota.so(quota_unlink+0xf1)[0x2ae3d538a501]
/usr/local/lib/libglusterfs.so.0(default_unlink+0xcb)[0x2ae3d46c954b]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_unlink_resume+0xd1)[0x2ae3d57b45a1]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve_done+0x30)[0x2ae3d57b4e20]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve_all+0xaf)[0x2ae3d57b575f]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve+0x7f)[0x2ae3d57b569f]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve_all+0xa8)[0x2ae3d57b5758]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve_entry+0x5a)[0x2ae3d57b55fa]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve+0x55)[0x2ae3d57b5675]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_resolve_all+0x88)[0x2ae3d57b5738]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(resolve_and_resume+0x14)[0x2ae3d57b5784]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(server_unlink+0xa6)[0x2ae3d57a7e36]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(protocol_server_pollin+0x90)[0x2ae3d57a5660]
/usr/local/lib/glusterfs/3.0.0/xlator/protocol/server.so(notify+0xcb)[0x2ae3d57a573b]
/usr/local/lib/libglusterfs.so.0(xlator_notify+0x43)[0x2ae3d46c1eb3]
/usr/local/lib/glusterfs/3.0.0/transport/socket.so(socket_event_handler+0xd3)[0x2aaaaaaaff53]
/usr/local/lib/libglusterfs.so.0[0x2ae3d46db5d5]
/sbin/glusterfsd(main+0x9e4)[0x404084]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3b8701d994]
/sbin/glusterfsd[0x402679]
---------


Does anyone know what's going wrong?

Kind Regards,
Peter


More information about the Gluster-users mailing list