Howtoforge shows you how to setup File Replication (Mirror) across two storage servers with GlusterFS 3.2.x on Ubuntu 12.10
This tutorial shows how to set up a high-availability storage with two storage servers (Ubuntu 12.10) that use GlusterFS. Each storage server will be a mirror of the other storage server, and files will be replicated automatically across both storage servers. The client system (Ubuntu 12.10 as well) will be able to access the storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware such as x86_64 servers with SATA-II RAID and Infiniband HBA.Automatic File Replication (Mirror) Across Two Storage Servers With GlusterFS 3.2.x On Ubuntu 12.10