From: Alex Handy Date: Tue, 28 Jun 2022 17:27:23 +0000 (-0700) Subject: doc/cephadm: osd: minor fixes in config examples X-Git-Tag: v18.0.0~609^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=78d3b63e6268250797d75e2e9012198453797faf;p=ceph.git doc/cephadm: osd: minor fixes in config examples - Corrected drive counts (8 to 10) and rotational flag use (not consistent with HDD) in the "Multiple OSD specs for a single host" example - Adjusted vendor names in "Multiple hosts with the same disk layout" for consistency of examples Signed-off-by: Alex Handy --- diff --git a/doc/cephadm/services/osd.rst b/doc/cephadm/services/osd.rst index c4260b84d90a..dd1cda84db1c 100644 --- a/doc/cephadm/services/osd.rst +++ b/doc/cephadm/services/osd.rst @@ -643,6 +643,7 @@ See a full list in the DriveGroupSpecs :members: :exclude-members: from_json + Examples ======== @@ -746,7 +747,7 @@ This can be described with two layouts. host_pattern: '*' spec: data_devices: - rotational: 0 + rotational: 1 db_devices: model: MC-55-44-XZ limit: 2 # db_slots is actually to be favoured here, but it's not implemented yet @@ -762,7 +763,7 @@ This can be described with two layouts. vendor: VendorC This would create the desired layout by using all HDDs as data_devices with two SSD assigned as dedicated db/wal devices. -The remaining SSDs(8) will be data_devices that have the 'VendorC' NVMEs assigned as dedicated db/wal devices. +The remaining SSDs(10) will be data_devices that have the 'VendorC' NVMEs assigned as dedicated db/wal devices. Multiple hosts with the same disk layout ---------------------------------------- @@ -782,11 +783,11 @@ Node1-5 .. code-block:: none 20 HDDs - Vendor: Intel + Vendor: VendorA Model: SSD-123-foo Size: 4TB 2 SSDs - Vendor: VendorA + Vendor: VendorB Model: MC-55-44-ZX Size: 512GB @@ -795,11 +796,11 @@ Node6-10 .. code-block:: none 5 NVMEs - Vendor: Intel + Vendor: VendorA Model: SSD-123-foo Size: 4TB 20 SSDs - Vendor: VendorA + Vendor: VendorB Model: MC-55-44-ZX Size: 512GB @@ -827,6 +828,7 @@ You can use the 'placement' key in the layout to target certain nodes. db_devices: model: SSD-123-foo + This applies different OSD specs to different hosts depending on the `placement` key. See :ref:`orchestrator-cli-placement-spec`