diff options
author | John Wilkins <john.wilkins@inktank.com> | 2013-02-25 15:28:07 -0800 |
---|---|---|
committer | John Wilkins <john.wilkins@inktank.com> | 2013-02-25 15:28:07 -0800 |
commit | 9ab0fd758a46e4236d2514bb72bc2d3d76bbbf1f (patch) | |
tree | 556d1b2da91309dfadc257ce158b174d77f10ff3 | |
parent | 3ef6d5bde15923315599f335eee718e3fca1e7f7 (diff) | |
download | ceph-9ab0fd758a46e4236d2514bb72bc2d3d76bbbf1f.tar.gz |
doc: Added a small ref section for osd config reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r-- | doc/rados/configuration/pool-pg.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/rados/configuration/pool-pg.conf b/doc/rados/configuration/pool-pg.conf new file mode 100644 index 00000000000..6d2844592f5 --- /dev/null +++ b/doc/rados/configuration/pool-pg.conf @@ -0,0 +1,20 @@ +[osd] + + # By default, Ceph makes 2 replicas of objects. If you want to make three + # copies of an object the default value--a primary copy and two replica + # copies--reset the default values as shown in 'osd pool default size'. + # If you want to allow Ceph to write a lesser number of copies in a degraded + # state, set 'osd pool default min size' to a number less than the + # 'osd pool default size' value. + + osd pool default size = 3 # Write an object 3 times. + osd pool default min size = 1 # Allow writing one copy in a degraded state. + + # Ensure you have a realistic number of placement groups. We recommend + # approximately 100 per OSD. E.g., total number of OSDs multiplied by 100 + # divided by the number of replicas (i.e., osd pool default size). So for + # 10 OSDs and osd pool default size = 3, we'd recommend approximately + # (100 * 10) / 3 = 333. + + osd pool default pg num = 333 + osd pool default pgp num = 333
\ No newline at end of file |