#volume home1-store volume home1 type storage/posix option directory /gluster/home end-volume #volume home1 # type features/posix-locks # subvolumes home1-store #end-volume volume storage-home type protocol/server option transport-type tcp/server option listen-port 6996 subvolumes home1 option auth.ip.storage-home.allow 192.168.* end-volume volume home2 type protocol/client option transport-type tcp/client option remote-host 192.168.3.1 option remote-port 6996 option remote-subvolume storage-home end-volume volume home-afr type cluster/afr option read-subvolume home1 subvolumes home1 home2 end-volume volume home type protocol/server option transport-type tcp/server option listen-port 6997 option client-volume-filename /etc/glusterfs/glusterfs-client.vol subvolumes home-afr option auth.ip.home.allow 127.0.0.1,192.168.* end-volume