]> git.proxmox.com Git - ceph.git/blob - ceph/doc/rados/configuration/pool-pg.conf
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / doc / rados / configuration / pool-pg.conf
1 [global]
2
3 # By default, Ceph makes 3 replicas of objects. If you want to make four
4 # copies of an object the default value--a primary copy and three replica
5 # copies--reset the default values as shown in 'osd pool default size'.
6 # If you want to allow Ceph to write a lesser number of copies in a degraded
7 # state, set 'osd pool default min size' to a number less than the
8 # 'osd pool default size' value.
9
10 osd pool default size = 3 # Write an object 3 times.
11 osd pool default min size = 2 # Allow writing two copies in a degraded state.
12
13 # Ensure you have a realistic number of placement groups. We recommend
14 # approximately 100 per OSD. E.g., total number of OSDs multiplied by 100
15 # divided by the number of replicas (i.e., osd pool default size). So for
16 # 10 OSDs and osd pool default size = 4, we'd recommend approximately
17 # (100 * 10) / 4 = 250.
18
19 osd pool default pg num = 250
20 osd pool default pgp num = 250