<div dir="ltr"><div>HI ALL, </div><div><br></div><div>I create a geo-rep between two volumes, detail as follow: </div><div><br></div><div>SRC volume info: </div><div><br></div><div><div>Volume Name: ivan</div><div>Type: Disperse</div><div>Volume ID: 6c4a1a7c-0516-47c4-a298-dabf00dd268c</div><div>Status: Started</div><div>Number of Bricks: 1 x (2 + 1) = 3</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: giting4:/export/ivan1</div><div>Brick2: giting5:/export/ivan1</div><div>Brick3: giting6:/export/ivan1</div><div>Options Reconfigured:</div><div>changelog.changelog: on</div><div>geo-replication.ignore-pid-check: on</div><div>geo-replication.indexing: on</div><div>performance.readdir-ahead: on</div></div><div><br></div><div>TAR volume info:</div><div><br></div><div><div>Volume Name: tar</div><div>Type: Disperse</div><div>Volume ID: e5147094-bd19-4b41-ae12-f6b84a89a18b</div><div>Status: Started</div><div>Number of Bricks: 1 x (2 + 1) = 3</div><div>Transport-type: tcp</div><div>Bricks:</div><div>Brick1: giting1:/export/ec1/fs</div><div>Brick2: giting2:/export/ec1/fs</div><div>Brick3: giting3:/export/ec1/fs</div><div>Options Reconfigured:</div><div>performance.readdir-ahead: on</div><div>cluster.enable-shared-storage: enable</div></div><div><br></div><div><br></div><div>RR status: </div><div>[root@giting4 ivan]# gluster volume geo-replication ivan giting1::tar status</div><div><br></div><div>MASTER NODE    MASTER VOL    MASTER BRICK     SLAVE USER    SLAVE           SLAVE NODE    STATUS     CRAWL STATUS       LAST_SYNCED</div><div>------------------------------------------------------------------------------------------------------------------------------------------</div><div>giting4        ivan          /export/ivan1    root          giting1::tar    giting3       Active     Changelog Crawl    2016-08-09 01:14:11</div><div>giting6        ivan          /export/ivan1    root          giting1::tar    giting1       Passive    N/A                N/A</div><div>giting5        ivan          /export/ivan1    root          giting1::tar    giting2       Passive    N/A                N/A</div><div><br></div><div>and when I use cmd :</div><div><br></div><div><div># dd if=/dev/zero of=/mnt/ivan/10G_seek_file bs=1M count=0 seek=10240</div></div><div><br></div><div>to generate a empty file with 10G size at mount point of ivan (source volume),</div><div><br></div><div>because &quot;count=0&quot;, this file will not cost real capacity, </div><div><br></div><div># du 10G_seek_file -h will get : </div><div><br></div><div><div>8.0K    10G_seek_file</div></div><div><br></div><div>and I also expect that target volume will have 10G_seek_file that do not cost capacity.</div><div><br></div><div>but when I check mount point of tar (target volume),</div><div><br></div><div>geo-replication happened, </div><div><br></div><div>but 10G_seek_file in target volume does cost capacity.</div><div><br></div><div># du 10G_seek_file -h will get : </div><div><br></div><div>10G  10G_seek_file. </div><div><br></div><div>I know that geo-rep in gluster using rsync, </div><div><br></div><div>so I using rsync to test the same geo-rep,</div><div><br></div><div>found that if I do rsync  with &quot;-S&quot; option, </div><div><br></div><div>file in target volume will not cost capacity as source volume. </div><div><br></div><div>So, is this a bug? </div><div><br></div><div>or is there any configure in gluster can handle this? </div><div><br></div><div>thanks.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>