From: Andrew Schoen Date: Mon, 15 Jan 2018 17:55:44 +0000 (-0600) Subject: ceph-volume: docs for --crush-device-class X-Git-Tag: v12.2.3~80^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e47c46fef88b3dc4ee9c7849da67f24db375044;p=ceph.git ceph-volume: docs for --crush-device-class Signed-off-by: Andrew Schoen (cherry picked from commit 21f459437bd1208812504a20e5a50f7a47bfa979) --- diff --git a/doc/ceph-volume/lvm/prepare.rst b/doc/ceph-volume/lvm/prepare.rst index 27ebb55d7e62..21d82d35d730 100644 --- a/doc/ceph-volume/lvm/prepare.rst +++ b/doc/ceph-volume/lvm/prepare.rst @@ -186,6 +186,15 @@ a volume group and a logical volume using the following convention: * logical volume name: ``osd-block-{osd_fsid}`` +Crush device class +------------------ + +To set the crush device class for the OSD, use the ``--crush-device-class`` flag. This will +work for both bluestore and filestore OSDs:: + + ceph-volume lvm prepare --bluestore --data vg/lv --crush-device-class foo + + Storing metadata ---------------- The following tags will get applied as part of the preparation process @@ -195,6 +204,7 @@ regardless of the type of volume (journal or data) or OSD objectstore: * ``encrypted`` * ``osd_fsid`` * ``osd_id`` +* ``crush_device_class`` For :term:`filestore` these tags will be added: