[Gluster-users] Quota translator troubles

Patrick Ruckstuhl patrick at tario.org
Sun Jan 25 16:21:46 UTC 2009


i,

I tried to add the quota translator on top of everything else (basically
I'd like to restrict the size of a distributed volume).

This did not seem to work as I got the following error as soon as I
added the quota translator, removing fixed the problem.



2009-01-25 16:17:37 E [dht-common.c:1346:dht_getxattr] log-distribute:
invalid argument: loc->inode
2009-01-25 16:17:39 W [dht-layout.c:456:dht_layout_normalize]
log-distribute: directory / looked up first time
2009-01-25 16:17:39 W [dht-common.c:137:dht_lookup_dir_cbk]
log-distribute: fixing assignment on /
pending frames:
frame : type(1) op(UNLINK)

patchset: glusterfs--mainline--3.0--patch-844
signal received: 11
configuration details:argp 1
backtrace 1
bdb->cursor->get 1
db.h 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 2.0.0rc1
/lib/libc.so.6[0x7fdfa2391f60]
/lib/libpthread.so.0(pthread_spin_lock+0x0)[0x7fdfa26be630]
/lib/libglusterfs.so.0[0x7fdfa2adc6ac]
/lib/libglusterfs.so.0(dict_get_ptr+0x33)[0x7fdfa2add4e3]
/lib/glusterfs/2.0.0rc1/xlator/cluster/distribute.so(dht_layout_get+0x21)[0x7fdfa1f2fac1]
/lib/glusterfs/2.0.0rc1/xlator/cluster/distribute.so(dht_subvol_get_hashed+0x4c)[0x7fdfa1f301ac]
/lib/glusterfs/2.0.0rc1/xlator/cluster/distribute.so(dht_unlink+0x69)[0x7fdfa1f386e9]
/lib/libglusterfs.so.0(default_unlink+0xa7)[0x7fdfa2ae6cf7]
/lib/glusterfs/2.0.0rc1/xlator/features/quota.so(quota_unlink_stat_cbk+0xc1)[0x7fdfa1b1f721]
/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.so(wb_stat_cbk+0x5c)[0x7fdfa1d2693c]
/lib/glusterfs/2.0.0rc1/xlator/cluster/distribute.so(dht_attr_cbk+0xb0)[0x7fdfa1f395c0]
/lib/glusterfs/2.0.0rc1/xlator/protocol/client.so(client_stat_cbk+0x14c)[0x7fdfa215965c]
/lib/glusterfs/2.0.0rc1/xlator/protocol/client.so(protocol_client_pollin+0xc6)[0x7fdfa21498b6]
/lib/glusterfs/2.0.0rc1/xlator/protocol/client.so(notify+0x128)[0x7fdfa214ff28]
/lib/glusterfs/2.0.0rc1/transport/socket.so[0x7fdfa12e00fc]
/lib/libglusterfs.so.0[0x7fdfa2af778f]
/sbin/glusterfs(main+0x888)[0x403638]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fdfa237e1a6]
/sbin/glusterfs[0x402379]




Adding the translator directly above the posix volume seems to somewhat
work (df still shows the wrong available size but I'm not able to write
more than the specified amount).

Regards,
Patrick





More information about the Gluster-users mailing list