From 21f459437bd1208812504a20e5a50f7a47bfa979 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 15 Jan 2018 11:55:44 -0600 Subject: [PATCH] ceph-volume: docs for --crush-device-class Signed-off-by: Andrew Schoen --- doc/ceph-volume/lvm/prepare.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/ceph-volume/lvm/prepare.rst b/doc/ceph-volume/lvm/prepare.rst index d06586af0e443..70a08623cf2bb 100644 --- a/doc/ceph-volume/lvm/prepare.rst +++ b/doc/ceph-volume/lvm/prepare.rst @@ -227,6 +227,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 @@ -236,6 +245,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: -- 2.39.5