From b4157fae7372c949c7ebf4b060ae4b07f131df05 Mon Sep 17 00:00:00 2001 From: youji Date: Tue, 8 Mar 2016 07:05:45 -0700 Subject: [PATCH] doc: add doc for osd_crush_initial_weight Signed-off-by: You Ji --- doc/rados/configuration/pool-pg-config-ref.rst | 11 +++++++++++ doc/rados/operations/crush-map.rst | 2 ++ 2 files changed, 13 insertions(+) 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 -- 2.39.5