Adjust default ceph.conf parameters

1. Remove an explicit OSD journal size, especially such a small one (no
clue why I ever added that...)

2. Add max scrubs, disable scrub during recovery, and set scrub sleep.

3. Add max backfills, tune recovery sleep to 0 to prioritize recovery.
This commit is contained in:
Joshua Boniface 2021-09-28 02:09:50 -04:00
parent 732bfe732c
commit 8ac2a5ea0c
1 changed files with 7 additions and 1 deletions

View File

@ -65,7 +65,13 @@
- "auth service required = cephx"
- "auth client required = cephx"
- "mon allow pool delete = 1"
- "osd journal size = 2"
- "osd max scrubs = 2"
- "osd scrub during recovery = false"
- "osd scrub sleep = 5"
- "osd max backfills = 8"
- "osd recovery sleep hdd = 0"
- "osd recovery sleep ssd = 0"
- "osd recovery sleep hybrid = 0"
- "osd pool default size = 3"
- "osd pool default min size = 2"
- "osd pool default pg num = 256"