[Gluster-users] Replication issue between two Ubuntu servers

Janantha Marasinghe janantha at janantha.net
Sun Aug 18 04:24:00 UTC 2013


Hi all,

I have installed Glusterfs replication on two ubuntu servers on LAN. One
ubuntu server is having Lucid 10.04 and the other is on 12.04 Precise.
Glusterfs in 12.04 is on version 3.3.2 and 10.04 has 3.3.1. I have setup a
testvol and successfully made it online. On both ends when run netstat -ntap
| grep glusterfsd it show connection established.

On 192.168.2.6 server I have made a directory called gfs in the /fileserver
partition and on 192.168.1.103 I have made the gfs directory on /opt/gfs. I
have copued few files in 192.168.2.6 directory but unable to see them
replicated to 192.168.1.103.


tcp        0      0 0.0.0.0:24009           0.0.0.0:*               LISTEN
8544/glusterfsd 
tcp        0      0 127.0.0.1:1021          127.0.0.1:24007
ESTABLISHED 8544/glusterfsd
tcp        0      0 192.168.2.6:24009       192.168.1.103:1015
ESTABLISHED 8544/glusterfsd
tcp        0      0 192.168.2.6:24009       192.168.2.6:1023
ESTABLISHED 8544/glusterfsd
tcp        0      0 192.168.2.6:24009       192.168.1.103:1010
ESTABLISHED 8544/glusterfsd
tcp        0      0 192.168.2.6:24009       192.168.2.6:1022
ESTABLISHED 8544/glusterfsd

Status of volume: testvol
Gluster process Port Online Pid
----------------------------------------------------------------------------
--
Brick 192.168.2.6:/fileserver/gfs 24009 Y 8544
Brick 192.168.1.103:/opt/gfs 24009 Y 7203
NFS Server on localhost 38467 Y 8550
Self-heal Daemon on localhost N/A Y 8556
NFS Server on 192.168.1.103 38467 Y 7399
Self-heal Daemon on 192.168.1.103 N/A Y 7405

Glustershd.log 

[2013-08-17 10:17:32.727564] I
[client-handshake.c:1636:select_server_supported_programs]
0-testvol-client-0: Using Program GlusterFS 3.3.1, Num (1298437), Version
(330)
[2013-08-17 10:17:32.727920] I
[client-handshake.c:1433:client_setvolume_cbk] 0-testvol-client-0: Connected
to 192.168.2.6:24009, attached to remote volume '/fileserver/gfs'.
[2013-08-17 10:17:32.727951] I
[client-handshake.c:1445:client_setvolume_cbk] 0-testvol-client-0: Server
and Client lk-version numbers are not same, reopening the fds
[2013-08-17 10:17:32.728018] I [afr-common.c:3628:afr_notify]
0-testvol-replicate-0: Subvolume 'testvol-client-0' came back up; going
online.
[2013-08-17 10:17:32.728141] I
[client-handshake.c:453:client_set_lk_version_cbk] 0-testvol-client-0:
Server lk version = 1
[2013-08-17 10:17:34.439228] I
[client-handshake.c:1636:select_server_supported_programs]
0-testvol-client-1: Using Program GlusterFS 3.3.2, Num (1298437), Version
(330)
[2013-08-17 10:17:34.798428] I
[client-handshake.c:1433:client_setvolume_cbk] 0-testvol-client-1: Connected
to 192.168.1.103:24009, attached to remote volume '/opt/gfs'.
[2013-08-17 10:17:34.798457] I
[client-handshake.c:1445:client_setvolume_cbk] 0-testvol-client-1: Server
and Client lk-version numbers are not same, reopening the fds
[2013-08-17 10:17:35.150284] I
[client-handshake.c:453:client_set_lk_version_cbk] 0-testvol-client-1:
Server lk version = 1





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130818/2b7505d8/attachment.html>


More information about the Gluster-users mailing list