[Gluster-users] Disable rsync compression for georeplication

Kotresh Hiremath Ravishankar khiremat at redhat.com
Tue Nov 25 09:05:58 UTC 2014

Hi John,

There seems to a bug in cli command line parsing which is not allowing 
options prefixed with double hyphen apart from few. As a workaround to fix
this for now, do following steps.

1. Stop geo-replication session.
2. Add the following at the end of the file "/var/lib/glusterd/geo-replication/gsyncd.conf" in all master nodes.
   rsync_options = --compress-level=0
3. Start geo-replication session.

Thanks and Regards,
Kotresh H R

----- Original Message -----
From: "John Gardeniers" <jgardeniers at objectmastery.com>
To: gluster-users at gluster.org
Sent: Tuesday, November 25, 2014 5:24:18 AM
Subject: [Gluster-users] Disable rsync compression for georeplication

Using Gluster 3.4.2, we have a situation where georeplication is causing 
the CPU on the master to be hammered, while the bandwidth is having a 
holiday. I'd therefore like to disable the rsync compression for 

In a response to David F. Robinson asking the same question back in 
August, Vishwanath Bhat wrote:

 > You can use "rsync-options" to specify any rsync options that you 
want to rsync to use. Just make sure that it does not conflict with the 
default rsync options used by geo-rep.
 > For example,
 > #gluster volume geo-replication <MASTER> <SLAVE> config rsync-options 

Finding no way to negate the --compress option used in georeplication I 
thought that perhaps I could get part way there by simply winding down 
the compression level using "gluster volume geo-replication <MASTER> 
<SLAVE> config rsync-options '--compress-level=0' " (Yes, I did use real 
entries for <MASTER> and <SLAVE>.)

The return from that command was "unrecognized option 
--compress-level=0". I tried a few other numbers and got the same 
negative results.

Can someone please advise how to disable rsync compression for 
georeplication? Thanks.


Gluster-users mailing list
Gluster-users at gluster.org

More information about the Gluster-users mailing list