[Gluster-users] cluster/afr not mirroring 100%?

Jason Haar Jason.Haar at trimble.co.nz
Fri Oct 10 17:55:42 UTC 2008


Marian Marinov wrote:
> Hello Jason,
>
> This behavior is normal since with AFR files are transfered on the other nodes 
> only when they are requested from them.
> So in order to have the files replicated you should do find . in /home/export 
> on all remote nodes.
>
> For more information please read this article:
> http://www.gluster.org/docs/index.php/Understanding_AFR_Translator
>   
I already did that - but is hasn't helped.

To reiterate: I have two bricks (both /home/export) via 2 servers,
mounted on two clients as /mnt/glusterfs. I then copied data (on one
client) into /mnt/glusterfs and saw the data start showing up under
/home/export on both servers. However, after killing the copy, I have
inconsistent files under /home/export. I then ran
"find /mnt/glusterfs/ -type f -print0 | xargs -0 head -c1 > /dev/null"
to force glusterfs to read every file, and that didn't change the state
of /home/export on the two bricks. Ah, I've just noticed that running
"du /mnt/glusterfs" on both clients also produces inconsistent output -
that certainly shouldn't be happening?


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1





More information about the Gluster-users mailing list