Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [osd]
- ; This is where the btrfs volume will be mounted.
- osd data = /srv/ceph/osd$id
- ; Ideally, make this a separate disk or partition. A few
- ; hundred MB should be enough; more if you have fast or many
- ; disks. You can use a file under the osd data dir if need be
- ; (e.g. /data/$name/journal), but it will be slower than a
- ; separate disk or partition.
- osd journal = /srv/ceph/osd$id/journal
- ;Default Vaule
- ;osd journal size = 1000 ; journal size, in megabytes
- osd journal size = 512 ; journal size, in megabytes
- ;Solve RBD data corruption
- filestore fiemap = false
- ; If you want to run the journal on a tmpfs, disable DirectIO
- ;journal dio = false
- ; You can change the number of recovery operations to speed up recovery
- ; or slow it down if your machines can't handle it
- ; osd recovery max active = 3
- ; osd logging to debug osd issues, in order of likelihood of being
- ; helpful
- ;debug ms = 1
- ;debug osd = 20
- ;debug filestore = 20
- ;debug journal = 20
- [osd.0]
- host = ha1
- ; if 'btrfs devs' is not specified, you're responsible for
- ; setting up the 'osd data' dir. if it is not btrfs, things
- ; will behave up until you try to recover from a crash (which
- ; usually fine for basic testing).
- devs = /dev/mapper/vg--ha-ceph
- ; If you want to specify some other mount options, you can do so.
- ; The default values are rw,noatime
- ;btrfs options = rw,noatime
- [osd.1]
- host = ha2
- devs = /dev/mapper/vg--ha-ceph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement