]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-volume: docs for --crush-device-class
authorAndrew Schoen <aschoen@redhat.com>
Mon, 15 Jan 2018 17:55:44 +0000 (11:55 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 16 Jan 2018 15:20:34 +0000 (09:20 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
doc/ceph-volume/lvm/prepare.rst

index d06586af0e443cde436b43464c890d43c17afbb7..70a08623cf2bb0aca1cde87a154942af303990d0 100644 (file)
@@ -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: