]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
docs for the crush_device_class option of lvm_volumes
authorAndrew Schoen <aschoen@redhat.com>
Fri, 12 Jan 2018 14:46:30 +0000 (08:46 -0600)
committerSébastien Han <seb@redhat.com>
Wed, 17 Jan 2018 12:49:29 +0000 (13:49 +0100)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
docs/source/osds/scenarios.rst
roles/ceph-osd/defaults/main.yml

index a08a64a6ed3e6b2f13ce02fd6d6f9196e721e4b6..b3cd1994dc9b6b2b3a8e502ade7ff8f242b5d046 100644 (file)
@@ -205,6 +205,7 @@ The following keys are accepted for a ``filestore`` deployment:
 * ``data_vg`` (not required if ``data`` is a raw device or partition)
 * ``journal``
 * ``journal_vg`` (not required if ``journal`` is a partition and not a logical volume)
+* ``crush_device_class`` (optional, sets the crush device class for the OSD)
 
 The ``journal`` key represents the logical volume name or partition that will be used for your OSD journal.
 
@@ -217,6 +218,7 @@ For example, a configuration to use the ``lvm`` osd scenario would look like::
         data_vg: vg1
         journal: journal-lv1
         journal_vg: vg2
+        crush_device_class: foo
       - data: data-lv2
         journal: /dev/sda
         data_vg: vg1
@@ -245,6 +247,7 @@ The following keys are accepted for a ``bluestore`` deployment:
 * ``db_vg`` (optional for ``block.db``)
 * ``wal`` (optional for ``block.wal``)
 * ``wal_vg`` (optional for ``block.wal``)
+* ``crush_device_class`` (optional, sets the crush device class for the OSD)
 
 A ``bluestore`` lvm deployment, for all four different combinations supported
 could look like::
@@ -254,6 +257,7 @@ could look like::
     lvm_volumes:
       - data: data-lv1
         data_vg: vg1
+        crush_device_class: foo
       - data: data-lv2
         data_vg: vg1
         wal: wal-lv1
index 8c50f507502f3eb87511d7ae1dc63bdbef92beaf..2df34a3d307cd5d1c306167849b0c09ffae4fbf5 100644 (file)
@@ -205,6 +205,7 @@ bluestore_wal_devices: "{{ dedicated_devices }}"
 #     data_vg: vg1
 #     journal: journal-lv1
 #     journal_vg: vg2
+#     crush_device_class: foo
 #   - data: data-lv2
 #     journal: /dev/sda1
 #     data_vg: vg1
@@ -226,6 +227,7 @@ bluestore_wal_devices: "{{ dedicated_devices }}"
 #     data_vg: vg1
 #     wal: wal-lv1
 #     wal_vg: vg1
+#     crush_device_class: foo
 #   - data: data-lv2
 #     db: db-lv2
 #     db_vg: vg2