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

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

volume home1
	type protocol/client
	option transport-type tcp/client
	option remote-host 192.168.0.1
	option remote-subvolume home1
end-volume

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

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