Ceph - how to add back OSD that was removed from cluster by mistake, but the partitions are untouched - data still exists there

Solution Verified - Updated -

Issue

The OSDs were purged by mistake:

# ceph osd purge {id} --yes-i-really-mean-it

OR following commands were executed against OSDs:

# ceph osd crush remove osd.{id}
# ceph auth del osd.{id}

But the OSD partitions are remaining untouched - no data was removed from the OSD disk devices.

Environment

Red Hat Ceph Storage 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In