]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | ====================================== |
2 | Pool, PG and CRUSH Config Reference | |
3 | ====================================== | |
4 | ||
5 | .. index:: pools; configuration | |
6 | ||
f67539c2 | 7 | When you create pools and set the number of placement groups (PGs) for each, Ceph |
7c673cae | 8 | uses default values when you don't specifically override the defaults. **We |
11fdf7f2 | 9 | recommend** overriding some of the defaults. Specifically, we recommend setting |
7c673cae FG |
10 | a pool's replica size and overriding the default number of placement groups. You |
11 | can specifically set these values when running `pool`_ commands. You can also | |
12 | override the defaults by adding new ones in the ``[global]`` section of your | |
11fdf7f2 | 13 | Ceph configuration file. |
7c673cae FG |
14 | |
15 | ||
16 | .. literalinclude:: pool-pg.conf | |
17 | :language: ini | |
18 | ||
20effc67 TL |
19 | .. confval:: mon_max_pool_pg_num |
20 | .. confval:: mon_pg_stuck_threshold | |
21 | .. confval:: mon_pg_warn_min_per_osd | |
22 | .. confval:: mon_pg_warn_min_objects | |
23 | .. confval:: mon_pg_warn_min_pool_objects | |
24 | .. confval:: mon_pg_check_down_all_threshold | |
25 | .. confval:: mon_pg_warn_max_object_skew | |
26 | .. confval:: mon_delta_reset_interval | |
27 | .. confval:: osd_crush_chooseleaf_type | |
28 | .. confval:: osd_crush_initial_weight | |
29 | .. confval:: osd_pool_default_crush_rule | |
30 | .. confval:: osd_pool_erasure_code_stripe_unit | |
31 | .. confval:: osd_pool_default_size | |
32 | .. confval:: osd_pool_default_min_size | |
33 | .. confval:: osd_pool_default_pg_num | |
34 | .. confval:: osd_pool_default_pgp_num | |
35 | .. confval:: osd_pool_default_pg_autoscale_mode | |
36 | .. confval:: osd_pool_default_flags | |
37 | .. confval:: osd_max_pgls | |
38 | .. confval:: osd_min_pg_log_entries | |
39 | .. confval:: osd_max_pg_log_entries | |
40 | .. confval:: osd_default_data_pool_replay_window | |
41 | .. confval:: osd_max_pg_per_osd_hard_ratio | |
11fdf7f2 | 42 | |
7c673cae FG |
43 | .. _pool: ../../operations/pools |
44 | .. _Monitoring OSDs and PGs: ../../operations/monitoring-osd-pg#peering | |
45 | .. _Weighting Bucket Items: ../../operations/crush-map#weightingbucketitems |