]> git.proxmox.com Git - ceph.git/blob - ceph/doc/rados/configuration/pool-pg-config-ref.rst
b6ec9a4d2e4c2a2151e976d06ce70a3d6d44b61b
[ceph.git] / ceph / doc / rados / configuration / pool-pg-config-ref.rst
1 ======================================
2 Pool, PG and CRUSH Config Reference
3 ======================================
4
5 .. index:: pools; configuration
6
7 When you create pools and set the number of placement groups (PGs) for each, Ceph
8 uses default values when you don't specifically override the defaults. **We
9 recommend** overriding some of the defaults. Specifically, we recommend setting
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
13 Ceph configuration file.
14
15
16 .. literalinclude:: pool-pg.conf
17 :language: ini
18
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
42
43 .. _pool: ../../operations/pools
44 .. _Monitoring OSDs and PGs: ../../operations/monitoring-osd-pg#peering
45 .. _Weighting Bucket Items: ../../operations/crush-map#weightingbucketitems