Skip to content

Instantly share code, notes, and snippets.

@nocko
Created February 21, 2013 16:44
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 nocko/5006090 to your computer and use it in GitHub Desktop.
Save nocko/5006090 to your computer and use it in GitHub Desktop.
volume file for cfmi mirror (glusterfs)
volume mirror-client-0
type protocol/client
option remote-host lauterbur
option remote-subvolume /raid/mirror
option transport-type tcp
end-volume
volume mirror-client-1
type protocol/client
option remote-host mansfield
option remote-subvolume /raid/mirror
option transport-type tcp
end-volume
volume mirror-client-2
type protocol/client
option remote-host ogawa
option remote-subvolume /raid/mirror
option transport-type tcp
end-volume
volume mirror-client-3
type protocol/client
option remote-host rabi
option remote-subvolume /raid/mirror
option transport-type tcp
end-volume
volume mirror-client-4
type protocol/client
option remote-host rabi
option remote-subvolume /raid/mirror2
option transport-type tcp
end-volume
volume mirror-client-5
type protocol/client
option remote-host ogawa
option remote-subvolume /raid/mirror2
option transport-type tcp
end-volume
volume mirror-replicate-0
type cluster/replicate
subvolumes mirror-client-0 mirror-client-1
end-volume
volume mirror-replicate-1
type cluster/replicate
subvolumes mirror-client-2 mirror-client-3
end-volume
volume mirror-replicate-2
type cluster/replicate
subvolumes mirror-client-4 mirror-client-5
end-volume
volume mirror-dht
type cluster/distribute
subvolumes mirror-replicate-0 mirror-replicate-1 mirror-replicate-2
end-volume
volume mirror-write-behind
type performance/write-behind
subvolumes mirror-dht
end-volume
volume mirror-read-ahead
type performance/read-ahead
subvolumes mirror-write-behind
end-volume
volume mirror-io-cache
type performance/io-cache
subvolumes mirror-read-ahead
end-volume
volume mirror-quick-read
type performance/quick-read
subvolumes mirror-io-cache
end-volume
volume mirror-md-cache
type performance/md-cache
subvolumes mirror-quick-read
end-volume
volume mirror
type debug/io-stats
option latency-measurement on
option count-fop-hits on
subvolumes mirror-md-cache
end-volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment