]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: add doc for osd_crush_initial_weight
authoryouji <youji@ebay.com>
Tue, 8 Mar 2016 14:05:45 +0000 (07:05 -0700)
committeryouji <youji@ebay.com>
Mon, 14 Mar 2016 03:09:35 +0000 (20:09 -0700)
Signed-off-by: You Ji <jiyou09@gmail.com>
doc/rados/configuration/pool-pg-config-ref.rst
doc/rados/operations/crush-map.rst

index f54192fb2d64f979216469aa534c5d51cb601b8b..9f8414128b01f344d4ec2ca0148598d4fcc7e8ea 100644 (file)
@@ -66,6 +66,16 @@ Ceph configuration file.
 :Default: ``1``. Typically a host containing one or more Ceph OSD Daemons.
 
 
+``osd crush initial weight``
+
+:Description: The initial crush weight for newly added osds into crushmap.
+
+:Type: Double
+:Default: ``the size of newly added osd in TB``. By default, the initial crush
+          weight for the newly added osd is set to its volume size in TB.
+          See `Weighting Bucket Items`_ for details.
+
+
 ``osd pool default crush replicated ruleset`` 
 
 :Description: The default CRUSH ruleset to use when creating a replicated pool.
@@ -164,3 +174,4 @@ Ceph configuration file.
 
 .. _pool: ../../operations/pools
 .. _Monitoring OSDs and PGs: ../../operations/monitoring-osd-pg#peering
+.. _Weighting Bucket Items: ../../operations/crush-map#weightingbucketitems
index d838ea96c83878f98d6436cd03a0ca04df7c5f96..db983dfa03bd4aa52bde080d7aaf165c90f5947b 100644 (file)
@@ -451,6 +451,8 @@ and one rack bucket. The OSDs are declared as items within the host buckets::
    Enter ``0`` as your hash setting to select ``rjenkins1``.
 
 
+.. _weightingbucketitems:
+
 .. topic:: Weighting Bucket Items
 
    Ceph expresses bucket weights as doubles, which allows for fine