Deactivating OSDs

You can deactivate the Ceph OSDs using the ceph-volume lvm subcommand. This subcommand removes the volume groups and the logical volume.

Prerequisites

  • A running IBM Storage Ceph cluster.
  • Root-level access to the Ceph OSD node.
  • The Ceph OSDs are activated using the ceph-volume utility.

Procedure

  1. Get the OSD ID from the OSD node.
    [ceph: root@host01 /]# ceph-volume lvm list
  2. Deactivate the OSD:

    ceph-volume lvm deactivate OSD_ID

    Example

    [ceph: root@host01 /]# ceph-volume lvm deactivate 16