Removing failed or unwanted Ceph OSDs in dynamically provisioned Red Hat OpenShift Data Foundation
Before you begin
- Check if Ceph is healthy. For more information, see Verifying Ceph cluster is healthy.
- Ensure that no alerts are fired or any rebuilding process is in progress.
About this task
Follow the steps in the procedure to remove the failed or unwanted Ceph OSDs in dynamically
provisioned IBM Storage Fusion
Data Foundation.
Important: Scaling
down of cluster is supported only with the help of the IBM Support team.
Warning:
-
Removing an OSD when the Ceph component is not in a healthy state can result in data loss.
-
Removing two or more OSDs at the same time results in data loss.
Procedure
What to do next
Verification step
- To check if the OSD is deleted successfully,
run:
oc get pod -n openshift-storage ocs-osd-removal-$<failed_osd_id>-<pod-suffix>
This command must return the status as
Completed
.