ceph: rbd images cannot be removed, "snap is protected from removal."

Solution Verified - Updated -


  • I cannot delete an rbd snapshot
  • We can not remove a rbd image provided via GLANCE; it contains snapshots reported as busy:
rbd ls -p GLANCE --id glance --keyring /etc/ceph/ceph.client.glance.keyring 
root@system:~ # rbd snap purge 7cf3b64c-31eb-49bf-924f-ed15b8565350 -p GLANCE --id glance --keyring /etc/ceph/ceph.client.glance.keyring 
Removing all snapshots: 2015-06-10 13:26:59.337291 7efeeeebe760 -1 librbd: removing snapshot from header failed: (16) Device or resource busy0% complete...failed. 
rbd: removing snaps failed: (16) Device or resource busy 
root@d90-1b-0e-43-f2-31:~ # rbd snap rm 7cf3b64c-31eb-49bf-924f-ed15b8565350@snap -p GLANCE --id glance --keyring /etc/ceph/ceph.client.glance.keyring 
rbd: snapshot '2015-06-10 13:27:14.363225 7f879983c760 -1 librbd: removing snapshot from header failed: (16) Device or resource busy 
snap' is protected from removal. 
root@system:~ # 


  • Red Hat Openstack
  • ceph

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