mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
doc/cephadm: Add creation method of OSD
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>
This commit is contained in:
parent
0aad2f3f51
commit
1a66581732
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user