Creating Ceph OSDs
The create subcommand calls the prepare subcommand, and
then calls the activate subcommand.
Prerequisites
-
A running IBM Storage Ceph cluster.
-
Root-level access to the Ceph OSD nodes.
Note: If you prefer to have more control over the creation process, you can use the
prepare and activate subcommands separately to create the OSD
instead of using create. You can use the two subcommands to gradually introduce
new OSDs into a storage cluster, and avoid having to rebalance large amounts of data. Both
approaches work the same way, except that using the create subcommand causes the
OSD to become
up and in immediately after completion.Procedure
-
Create an OSD.
Syntax
ceph-volume lvm create --bluestore --data VOLUME_GROUP/LOGICAL_VOLUMEExample
[root@osd ~]# ceph-volume lvm create --bluestore --data example_vg/data_lv