]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: Add creation method of OSD 47967/head
authorXiaoliang Yang <yangxiaoliang07@163.com>
Mon, 5 Sep 2022 02:32:31 +0000 (10:32 +0800)
committerXiaoliang Yang <yangxiaoliang07@163.com>
Mon, 5 Sep 2022 02:32:31 +0000 (10:32 +0800)
ceph orch daemon add osd command is does not supported for device partition,when you have not raw block device,you can create lvm through device partition,then you can use ceph orch daemon add osd : command create osd
Signed-off-by: Xiaoliang Yang <yangxiaoliang07@163.com>
doc/cephadm/services/osd.rst

index d77dc26db01b98784251ec885313805ff6906108..4ac5f8c1a9fb1ca1adc15173f27d35ef78ea4957 100644 (file)
@@ -144,6 +144,18 @@ There are a few ways to create new OSDs:
 
     ceph orch daemon add osd host1:data_devices=/dev/sda,/dev/sdb,db_devices=/dev/sdc,osds_per_device=2
 
+* Create an OSD on a specific LVM logical volume on a specific host:
+
+  .. prompt:: bash #
+
+    ceph orch daemon add osd *<host>*:*<lvm-path>*
+
+  For example:
+
+  .. prompt:: bash #
+
+    ceph orch daemon add osd host1:/dev/vg_osd/lvm_osd1701
+
 * You can use :ref:`drivegroups` to categorize device(s) based on their
   properties. This might be useful in forming a clearer picture of which
   devices are available to consume. Properties include device type (SSD or