Skip to content

Instantly share code, notes, and snippets.

@rtacconi
Created June 20, 2011 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtacconi/cc93c22548d72578acba to your computer and use it in GitHub Desktop.
Save rtacconi/cc93c22548d72578acba to your computer and use it in GitHub Desktop.
Glusterfs client 3
volume remote1
type protocol/client
option transport-type tcp
option remote-host server1.example.com
option remote-subvolume brick
end-volume
volume remote2
type protocol/client
option transport-type tcp
option remote-host server2.example.com
option remote-subvolume brick
end-volume
volume replicate
type cluster/replicate
subvolumes remote1 remote2
end-volume
volume writebehind
type performance/write-behind
option window-size 1MB
subvolumes replicate
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment