Guest User

rackerhacker

a guest
Aug 13th, 2010
643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. volume server02
  2. type protocol/client
  3. option transport-type tcp
  4. option remote-host 10.179.164.201
  5. option transport.socket.nodelay on
  6. option transport.remote-port 6996
  7. option remote-subvolume brick1
  8. end-volume
  9.  
  10. volume server01
  11. type protocol/client
  12. option transport-type tcp
  13. option remote-host 10.179.164.198
  14. option transport.socket.nodelay on
  15. option transport.remote-port 6996
  16. option remote-subvolume brick1
  17. end-volume
  18.  
  19. volume mirror-0
  20. type cluster/replicate
  21. subvolumes server01 server02
  22. end-volume
  23.  
  24. volume readahead
  25. type performance/read-ahead
  26. option page-count 4
  27. subvolumes mirror-0
  28. end-volume
  29.  
  30. volume iocache
  31. type performance/io-cache
  32. option cache-size `echo $(( $(grep 'MemTotal' /proc/meminfo | sed 's/[^0-9]//g') / 5120 ))`MB
  33. option cache-timeout 1
  34. subvolumes readahead
  35. end-volume
  36.  
  37. volume quickread
  38. type performance/quick-read
  39. option cache-timeout 1
  40. option max-file-size 64kB
  41. subvolumes iocache
  42. end-volume
  43.  
  44. volume writebehind
  45. type performance/write-behind
  46. option cache-size 4MB
  47. subvolumes quickread
  48. end-volume
  49.  
  50. volume statprefetch
  51. type performance/stat-prefetch
  52. subvolumes writebehind
  53. end-volume
Add Comment
Please, Sign In to add comment