volume home1-store
	type storage/posix
	option directory /gluster/home
end-volume

volume home1
	type features/posix-locks
	subvolumes home1-store
end-volume

volume home2
	type protocol/client
	option transport-type tcp/client
	option remote-host 192.168.3.1
	option remote-subvolume home2
end-volume

volume home
	type cluster/afr
	option read-subvolume home1
	subvolumes home1 home2
end-volume

volume server
	type protocol/server
	option transport-type tcp/server
	subvolumes home home1
	option auth.ip.home.allow 127.0.0.1
	option auth.ip.home1.allow 192.168.*
end-volume
