From: youji Date: Tue, 8 Mar 2016 14:05:45 +0000 (-0700) Subject: doc: add doc for osd_crush_initial_weight X-Git-Tag: v10.1.0~85^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b4157fae7372c949c7ebf4b060ae4b07f131df05;p=ceph-ci.git doc: add doc for osd_crush_initial_weight Signed-off-by: You Ji --- diff --git a/doc/rados/configuration/pool-pg-config-ref.rst b/doc/rados/configuration/pool-pg-config-ref.rst index f54192fb2d6..9f8414128b0 100644 --- a/doc/rados/configuration/pool-pg-config-ref.rst +++ b/doc/rados/configuration/pool-pg-config-ref.rst @@ -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 diff --git a/doc/rados/operations/crush-map.rst b/doc/rados/operations/crush-map.rst index d838ea96c83..db983dfa03b 100644 --- a/doc/rados/operations/crush-map.rst +++ b/doc/rados/operations/crush-map.rst @@ -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