From: John Wilkins Date: Tue, 16 Apr 2013 20:22:13 +0000 (-0700) Subject: doc: Cherry picked from master to next. Adds comments on naming OSDs. X-Git-Tag: v0.61~196 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3afe84b2007721ab5d968ca3b7f4cc8bc30f52fc;p=ceph.git doc: Cherry picked from master to next. Adds comments on naming OSDs. Signed-off-by: John Wilkins --- diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index 8d1ab4ac1a23..9486b55912fa 100644 --- a/doc/rados/configuration/osd-config-ref.rst +++ b/doc/rados/configuration/osd-config-ref.rst @@ -5,7 +5,30 @@ You can configure OSDs in the Ceph configuration file, but OSDs can use the default values and a very minimal configuration. A minimal OSD configuration sets ``osd journal size`` and ``osd host``, and uses default values for -nearly everything else. +nearly everything else. + +OSDs are numerically identified in incremental fashion, beginning with ``0`` +using the following convention. :: + + osd.0 + osd.1 + osd.2 + +In a configuration file, you may specify settings for all OSDs in the cluster +by adding configuration settings to the ``[osd]`` section of your configuration +file. To add settings directly to a specific OSD (e.g., ``osd host``), enter +it in an OSD-specific section of your configuration file. For example: + +.. code-block:: ini + + [osd] + osd journal size = 1024 + + [osd.0] + osd host = osd-host-a + + [osd.1] + osd host = osd-host-b General Settings