]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
documentation: update osd pool default size from 2 to 3. 1851/head
authorFlorent Flament <florent.flament-ext@cloudwatt.com>
Thu, 22 May 2014 12:08:54 +0000 (14:08 +0200)
committerFlorent Flament <florent.flament-ext@cloudwatt.com>
Thu, 22 May 2014 12:14:56 +0000 (14:14 +0200)
Fixes: #7725
Signed-off-by: Florent Flament <florent.flament@cloudwatt.com>
doc/rados/configuration/pool-pg-config-ref.rst
doc/rados/configuration/pool-pg.conf

index 0d498995edeced8d68be71fba9d3db93afee08a8..38e55f1b1f5993b3bc6bd542465dece37f023322 100644 (file)
@@ -83,14 +83,14 @@ Ceph configuration file.
 :Default: ``4096`` 
 
 
-``osd pool default size`` 
+``osd pool default size``
 
-:Description: Sets the number of replicas for objects in the pool. The default 
-              value is the same as 
+:Description: Sets the number of replicas for objects in the pool. The default
+              value is the same as
               ``ceph osd pool set {pool-name} size {size}``.
 
 :Type: 32-bit Integer
-:Default: ``2`` 
+:Default: ``3``
 
 
 ``osd pool default min size``
index 6d305069e71a4f63a5410b1aa7c3e7e1b12e935e..5f1b3b7fdb86e8e1c6e866815241e751cad3447d 100644 (file)
@@ -1,20 +1,20 @@
 [global]
 
-       # 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'. 
+       # By default, Ceph makes 3 replicas of objects. If you want to make four 
+       # copies of an object the default value--a primary copy and three 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. 
+       # 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 size = 4  # Write an object 4 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 
+
+       # 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.
+       # 10 OSDs and osd pool default size = 4, we'd recommend approximately
+       # (100 * 10) / 4 = 250.
 
-       osd pool default pg num = 333
-       osd pool default pgp num = 333
\ No newline at end of file
+       osd pool default pg num = 250
+       osd pool default pgp num = 250