<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello everyone,</div>
<div> </div>
<div>i was searching for a replacement of my rsync dublication of data to second server and ended up with gluster geo-replicaiton. But after reading the documentation and lots of websites I'm still unsure how to setup a geo-replication without retransfering all data. </div>
<div>I succeeded in converting my existing data folder to a gluster volume by creating a volume and using the "find /media/brick -noleaf -print0 | xargs --null stat" inside the mounted gluster volume folder on the master.</div>
<div>But how to I have to prepare the slave? I try to do it in the same way as with the master, but this will only result in error messages like</div>
<div>[2018-01-22 11:17:05.209027] E [repce(/media/brick):209:__call__] RepceClient: call failed on peer call=27401:140641732232960:1516619825.12 method=entry_ops error=OSError<br/>
[2018-01-22 11:17:05.209497] E [syncdutils(/media/brick):331:log_raise_exception] <top>: FAIL:<br/>
Traceback (most recent call last):<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/gsyncd.py", line 210, in main<br/>
main_i()<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/gsyncd.py", line 801, in main_i<br/>
local.service_loop(*[r for r in [remote] if r])<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/resource.py", line 1670, in service_loop<br/>
g1.crawlwrap(oneshot=True, register_time=register_time)<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/master.py", line 597, in crawlwrap<br/>
self.crawl()<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/master.py", line 1555, in crawl<br/>
self.process([item[1]], 0)<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/master.py", line 1204, in process<br/>
self.process_change(change, done, retry)<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/master.py", line 1114, in process_change<br/>
failures = self.slave.server.entry_ops(entries)<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/repce.py", line 228, in __call__<br/>
return self.ins(self.meth, *a)<br/>
File "/usr/lib/x86_64-linux-gnu/glusterfs/python/syncdaemon/repce.py", line 210, in __call__<br/>
raise res<br/>
OSError: [Errno 42] .gfid/00000000-0000-0000-0000-000000000001</div>
<div>I removed now all extended attributes on the slave and deleted the .glusterfs folder in the brick, so the system is hopefully in the inital state again.<br/>
Is there any way to setup a geo-replication session without resyncing all data by gluster? Because this will take month with my poor connection over here. I'm using gluster 3.13.1 on two Ubuntu 16.04.3 LTS hosts.</div>
<div> </div>
<div>I hope someone can help me with some hints, thanks and best regards</div>
<div>Tino</div>
<div> </div>
<div class="signature"> </div></div></body></html>