Krutika Dhananjay
2015-Apr-21 08:00 UTC
[Gluster-users] Replica 3 but one node does not have data
Hi, Which version of gluster are you using? Also, could you provide client logs? -Krutika ----- Original Message -----> From: "shacky" <shacky83 at gmail.com> > To: gluster-users at gluster.org > Sent: Tuesday, April 21, 2015 1:28:00 PM > Subject: [Gluster-users] Replica 3 but one node does not have data> Hi. > I created a Gluster volume with replica 3:> root at web1:~# gluster volume info > Volume Name: data > Type: Replicate > Status: Started > Number of Bricks: 3 > Transport-type: tcp > Bricks: > Brick1: web1:/data > Brick2: web2:/data > Brick3: web3:/data > Options Reconfigured: > diagnostics.count-fop-hits: on > diagnostics.latency-measurement: on> Nodes web1 and web3 have data:> root at web1:~# ls /data/ > test.txt test2.txt> root at web3:~# ls /data/ > test.txt test2.txt> But node web2 not:> root at web2:~# ls /data/ > root at web2:~#> I cannot realize why this happens, could you help me please?> Thank you very much! > Bye > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150421/48972787/attachment.html>
2015-04-21 10:00 GMT+02:00 Krutika Dhananjay <kdhananj at redhat.com>:> Which version of gluster are you using?glusterfs 3.2.7 built on Sep 28 2013 18:15:18 on a Debian Stable on all nodes.> Also, could you provide client logs?Every node mounts the local Gluster volume in /mnt/data: root at web1:~# mount|grep data localhost:data on /mnt/data type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072) I past some logs from web1: root at web1:/var/log/glusterfs# tail bricks/data.log [2015-04-19 08:16:25.74388] I [server.c:438:server_rpc_notify] 0-data-server: disconnected connection from 192.168.70.12:1023 [2015-04-19 08:16:25.74408] I [server-helpers.c:783:server_connection_destroy] 0-data-server: destroyed connection of web2-20500-2015/04/18-08:57:07:485070-data-client-0 [2015-04-19 08:16:25.74492] W [socket.c:1494:__socket_proto_state_machine] 0-tcp.data-server: reading from socket failed. Error (Transport endpoint is not connected), peer (192.168.70.13:1000) [2015-04-19 08:16:25.74541] I [server.c:438:server_rpc_notify] 0-data-server: disconnected connection from 192.168.70.13:1000 [2015-04-19 08:16:25.74556] I [server-helpers.c:783:server_connection_destroy] 0-data-server: destroyed connection of web3-1599-2015/04/19-07:23:44:941016-data-client-0 [2015-04-19 08:16:28.94455] I [server-handshake.c:542:server_setvolume] 0-data-server: accepted client from 192.168.70.11:1002 (version: 3.2.7) [2015-04-19 08:16:29.110903] I [server-handshake.c:542:server_setvolume] 0-data-server: accepted client from 192.168.70.13:998 (version: 3.2.7) [2015-04-19 08:16:29.111460] I [server-handshake.c:542:server_setvolume] 0-data-server: accepted client from 192.168.70.12:1017 (version: 3.2.7) [2015-04-21 08:58:12.8216] I [server-handshake.c:542:server_setvolume] 0-data-server: accepted client from 192.168.70.13:996 (version: 3.2.7) [2015-04-21 08:58:38.665739] I [server-handshake.c:542:server_setvolume] 0-data-server: accepted client from 192.168.70.11:1016 (version: 3.2.7) root at web1:/var/log/glusterfs# tail mnt-data-.log [2015-04-21 09:00:06.684656] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:10.685578] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:14.686386] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:17.687330] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:21.688193] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:25.689060] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:29.689976] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:33.690896] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:36.691753] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected [2015-04-21 09:00:40.692670] I [client.c:1883:client_rpc_notify] 0-data-client-1: disconnected Do you need some other info? Thanks!