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