GrepBoard/Manuals
605 manuals ·

Ceph OSD_ORPHAN: match the OSD ID across both maps

·Tested on Ceph Tentacle 20.2.0 documentation and source · 2026-11·Test scope ↓·4 steps

For Ceph OSD_ORPHAN, match the reported OSD ID in the CRUSH tree and the OSD map before deciding whether a retired device entry needs removal.

Start with the OSD ID in the OSD_ORPHAN detail. The CRUSH tree shows its placement in the hierarchy. The OSD map tells you whether that OSD is registered. Check the same ID in both. Tentacle health checks

[1] Read the OSD IDs listed under the health code.

console
$ ceph health detail

The summary gives the count. Each detail line identifies one device by its osd. prefix and number. If several IDs appear, work through them individually. Ceph emits one detail per ID and assigns the check the severity HEALTH_WARN. Health message construction

[2] Find the device and its parent host in the CRUSH tree.

console
$ ceph osd crush tree

Match the entire name. For example, a search for osd.1 might also find osd.10. The row under the host establishes the device's placement in CRUSH. Registration requires a separate check. CRUSH tree command

[3] Look for the OSD's own entry in the OSD map.

console
$ ceph osd dump
CRUSH treeOSD mapHow to proceed
Device presentOSD entry absentThis matches the reported discrepancy. Check the retirement record for that ID.
Device presentOSD entry presentAn OSD marked down or out still exists in the map. Exclude this ID from orphan cleanup.
Device absentOSD entry absentThere is no matching item to remove in the current tree. Read the health detail again.

Ceph checks whether the OSD exists before testing its CRUSH membership for this alert. For an existing OSD it assesses out and liveness separately. If a replacement took place between queries, read the maps and health detail again. OSD dump command · OSD existence check

[4] Decide whether the remaining reference should be removed. The documented command for removing a CRUSH item is ceph osd crush rm osd.<id>. Substitute the numeric ID you checked in the alert and both maps. Confirm in the change record that retirement is complete and the placement entry is due for removal. If replacement is underway or the original location and weight are unknown, stop after the read-only checks. Restoring an item removed in error requires its original placement information. Documented removal command

After cleanup, check the CRUSH tree and health detail for that same ID. If several IDs were listed, OSD_ORPHAN can persist for the others. Verify that the ID you handled has disappeared from the detail. For other codes, see reading Ceph health detail.

#ceph#osd#crush#osd-orphan#health-check