How to delete orphaned RBD images when using ODF 4 as a storage backend for OpenShift 4?

Solution Verified - Updated -


When checking the amount of existing images within Ceph on ODF, it is possible to see a mismatch between the amount of images versus the amount of existing PVs/PVCs on OCP, where the amount of images is superior to the number of created and active PVs/PVCs, evidencing these images are orphaned somehow. So how might one delete these orphaned images not linked to any PV/PVC?


  • Red Hat OpenShift Container Platform (OCP)
    • 4.x
  • Red Hat OpenShift Data Foundation (ODF)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content