Advertisement
Guest User

Untitled

a guest
Jul 24th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. [osd]
  2. ; This is where the btrfs volume will be mounted.
  3. osd data = /srv/ceph/osd$id
  4.  
  5. ; Ideally, make this a separate disk or partition. A few
  6. ; hundred MB should be enough; more if you have fast or many
  7. ; disks. You can use a file under the osd data dir if need be
  8. ; (e.g. /data/$name/journal), but it will be slower than a
  9. ; separate disk or partition.
  10.  
  11. osd journal = /srv/ceph/osd$id/journal
  12. ;Default Vaule
  13. ;osd journal size = 1000 ; journal size, in megabytes
  14. osd journal size = 512 ; journal size, in megabytes
  15.  
  16. ;Solve RBD data corruption
  17. filestore fiemap = false
  18.  
  19. ; If you want to run the journal on a tmpfs, disable DirectIO
  20. ;journal dio = false
  21.  
  22. ; You can change the number of recovery operations to speed up recovery
  23. ; or slow it down if your machines can't handle it
  24. ; osd recovery max active = 3
  25.  
  26. ; osd logging to debug osd issues, in order of likelihood of being
  27. ; helpful
  28. ;debug ms = 1
  29. ;debug osd = 20
  30. ;debug filestore = 20
  31. ;debug journal = 20
  32.  
  33. [osd.0]
  34. host = ha1
  35.  
  36. ; if 'btrfs devs' is not specified, you're responsible for
  37. ; setting up the 'osd data' dir. if it is not btrfs, things
  38. ; will behave up until you try to recover from a crash (which
  39. ; usually fine for basic testing).
  40. devs = /dev/mapper/vg--ha-ceph
  41.  
  42. ; If you want to specify some other mount options, you can do so.
  43. ; The default values are rw,noatime
  44. ;btrfs options = rw,noatime
  45.  
  46. [osd.1]
  47. host = ha2
  48. devs = /dev/mapper/vg--ha-ceph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement