Activating OSDs
The activation process for a Ceph OSD enables a systemd unit at boot time, which allows the correct OSD identifier and its UUID to be enabled and mounted.
Before you begin
- A running IBM Storage Ceph cluster.
- Root-level access to the Ceph OSD node.
- Ceph OSDs prepared by the
ceph-volumeutility.
Procedure
-
Get the OSD ID and OSD FSID from an OSD node.
Example
[ceph: root@host01 /]# ceph-volume lvm list -
Activate the OSD.
ceph-volume lvm activate --bluestore OSD_ID OSD_FSIDExample
[ceph: root@host01 /]# ceph-volume lvm activate --bluestore 10 7ce687d9-07e7-4f8f-a34e-d1b0efb89920To activate all OSDs that are prepared for activation, use the
--alloption.Example
[ceph: root@host01 /]# ceph-volume lvm activate --all -
Optionally, you can use the
triggersubcommand. This command cannot be used directly, and it is used bysystemdso that it proxies input toceph-volume lvm activate. This parses the metadata coming from systemd and startup, detecting the UUID and ID associated with an OSD.ceph-volume lvm trigger SYSTEMD_DATAHere the SYSTEMD_DATA is in OSD_ID-OSD_FSID format.
Example
[ceph: root@host01 /]# ceph-volume lvm trigger 10 7ce687d9-07e7-4f8f-a34e-d1b0efb89920
Reference
For more information, see: