]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cluster-ops/pools.rst: Added documentation for min_size
authorSamuel Just <sam.just@inktank.com>
Fri, 9 Nov 2012 19:24:42 +0000 (11:24 -0800)
committerSamuel Just <sam.just@inktank.com>
Fri, 9 Nov 2012 19:34:54 +0000 (11:34 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
doc/cluster-ops/pools.rst

index 54ccfdc43beca7160c2d36f852d6f6736b941dd1..f2e624c9a8a9946e6bcf1990e02f7140ef547347 100644 (file)
@@ -156,6 +156,12 @@ You may set values for the following keys:
 :Description: Sets the number of replicas for objects in the pool. See `Set the Number of Object Replicas`_ for further details.
 :Type: Integer
 
+``min_size``
+
+:Description: Sets the minimum number of replicas required for io.  See `Set the Number of Object Replicas`_ for further details
+:Type: Integer
+
+.. note: Version ``0.54`` and above
 
 ``crash_replay_interval``
 
@@ -217,6 +223,18 @@ For example::
 
 You may execute this command for each pool. 
 
+Note, however, that pool size is more of a best-effort setting: an object
+might accept ios in degraded mode with fewer than size replicas.  To
+set a minimum number of required replicas for io, you should use the
+min_size setting.
+
+For example::
+
+  ceph osd pool set data min_size 2
+
+This ensures that no object in the data pool will receive io with fewer than
+min_size replicas.
+
 
 Get the Number of Object Replicas
 =================================