[Gluster-users] Mirroring in GlusterFS

Niels de Vos ndevos at redhat.com
Fri Sep 19 14:04:59 UTC 2014


On Wed, Sep 17, 2014 at 03:25:49PM +0300, Sergei wrote:
> Hello.
> 
> I'm wondering, how is the actual mirroring done in Gluster? Is client
> responsible for creating two copies of data? If yes, does it perform two
> writes in parallel (to two bricks) or in sequential manner?

This is correct, the mirroring (we call it "replication") is done on the
client-side. One write by an application/user will result in multiple
parallel writes to the bricks.

> Or, maybe, it is server's responsibility - to make a copy from each write
> request?

No, it is not. In case of mounting a Gluster volume over NFS, the
NFS-server acts as a GlusterFS-client. Here, the NFS-server is
responsible for the replication (not the NFS-client).

Niels


More information about the Gluster-users mailing list