Hide Forgot
gluster> volume info dist3 Volume Name: dist3 Type: Distribute Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: 10.1.12.134:/mnt/dist3-a Brick2: 10.1.12.134:/mnt/dist3-b gluster> volume quota dist3 enable quota translator is enabled gluster> volume quota dist3 limit-usage /dist3 2MB Quota command failed gluster> gluster> volume info dist3 Volume Name: dist3 Type: Distribute Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: 10.1.12.134:/mnt/dist3-a Brick2: 10.1.12.134:/mnt/dist3-b Options Reconfigured: features.limit-usage: /dist3:2MB monitor.xtime-marker: on features.quota: on gluster> logs from vol file, +------------------------------------------------------------------------------+ [2011-03-20 21:29:46.629592] I [rpc-clnt.c:1531:rpc_clnt_reconfig] dist3-client-1: changing port to 24021 (from 0) [2011-03-20 21:29:46.629661] I [socket.c:286:__socket_disconnect] dist3-client-1: shutdown() returned 0. set connection state to -1 [2011-03-20 21:29:46.629685] E [client-handshake.c:1171:client_query_portmap_cbk] dist3-client-0: failed to get the port number for remote subvolume [2011-03-20 21:29:46.629746] I [socket.c:286:__socket_disconnect] dist3-client-0: shutdown() returned 0. set connection state to -1 [2011-03-20 21:29:46.629767] W [socket.c:1488:__socket_proto_state_machine] dist3-client-0: reading from socket failed. Error (Transport endpoint is not connected), peer (10.1.12.134:24007) [2011-03-20 21:29:46.629784] I [client.c:1876:client_rpc_notify] dist3-client-0: disconnected [2011-03-20 21:29:46.629796] W [socket.c:1488:__socket_proto_state_machine] dist3-client-1: reading from socket failed. Error (Transport endpoint is not connected), peer (10.1.12.134:24007) [2011-03-20 21:29:50.583192] I [rpc-clnt.c:1531:rpc_clnt_reconfig] dist3-client-0: changing port to 24020 (from 0) [2011-03-20 21:29:50.583268] I [socket.c:286:__socket_disconnect] dist3-client-0: shutdown() returned 0. set connection state to -1 [2011-03-20 21:29:50.583288] W [socket.c:1488:__socket_proto_state_machine] dist3-client-0: reading from socket failed. Error (Transport endpoint is not connected), peer (10.1.12.134:24007) [2011-03-20 21:29:50.583372] I [client-handshake.c:1091:select_server_supported_programs] dist3-client-1: Using Program GlusterFS-3.1.0, Num (1298437), Version (310) [2011-03-20 21:29:50.590463] I [client-handshake.c:922:client_setvolume_cbk] dist3-client-1: Connected to 10.1.12.134:24021, attached to remote volume '/mnt/dist3-b'. [2011-03-20 21:29:50.607771] I [fuse-bridge.c:2897:fuse_init] glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.10 [2011-03-20 21:29:50.608223] I [dht-layout.c:581:dht_layout_normalize] dist3-dht: found anomalies in /. holes=1 overlaps=0 [2011-03-20 21:29:50.608275] I [dht-selfheal.c:569:dht_selfheal_directory] dist3-dht: 1 subvolumes down -- not fixing [2011-03-20 21:29:53.589494] I [client-handshake.c:1091:select_server_supported_programs] dist3-client-0: Using Program GlusterFS-3.1.0, Num (1298437), Version (310) [2011-03-20 21:29:53.589655] I [client-handshake.c:922:client_setvolume_cbk] dist3-client-0: Connected to 10.1.12.134:24020, attached to remote volume '/mnt/dist3-a'. [2011-03-20 21:30:16.732786] I [glusterfsd-mgmt.c:62:mgmt_cbk_spec] mgmt: Volume file changed [2011-03-20 21:30:17.810686] W [dict.c:1153:data_to_str] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/glusterfs/3.1.0git/xlator/performance/io-cache.so(reconfigure+0x270) [0x2aaaabc27070]))) dict: data is NULL [2011-03-20 21:30:17.810733] W [dict.c:1153:data_to_str] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/glusterfs/3.1.0git/xlator/performance/io-cache.so(reconfigure+0x370) [0x2aaaabc27170]))) dict: data is NULL [2011-03-20 21:30:17.810767] W [dict.c:1153:data_to_str] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/glusterfs/3.1.0git/xlator/performance/io-cache.so(reconfigure+0x4ed) [0x2aaaabc272ed]))) dict: data is NULL [2011-03-20 21:30:17.810800] W [dict.c:1153:data_to_str] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/libglusterfs.so.0 [0x2b84fff4c3b6] (-->/root/git/inst//lib/glusterfs/3.1.0git/xlator/performance/io-cache.so(reconfigure+0x50d) [0x2aaaabc2730d]))) dict: data is NULL
Fixed as part of http://patches.gluster.com/patch/6619/ patch.
limit -usage is getting set without fail gluster> volume info rep1 Volume Name: rep1 Type: Distributed-Replicate Status: Started Number of Bricks: 2 x 3 = 6 Transport-type: tcp Bricks: Brick1: 10.1.12.134:/mnt/rep1 Brick2: 10.1.12.135:/rep1 Brick3: 10.1.12.135:/mnt/rep-rep1 Brick4: 10.1.12.134:/rep2 Brick5: 10.1.12.135:/mnt/rep2 Brick6: 10.1.12.135:/mnt/rep-rep2 Options Reconfigured: features.limit-usage: /rep1:1MB features.quota: on