Hi Jean, I have deleted all images from openstack. Glance list has no images. --------
root@compute:/home/oss# rbd -p images snap ls 0c605116-0634-4aed-9b3f-12d9483cd38a SNAPID NAME SIZE 2 snap 12839 kB root@compute:/home/oss# rbd -p images snap purge 0c605116-0634-4aed-9b3f-12d9483cd38a Removing all snapshots: 0% complete...failed. rbd: removing snaps failed: (16) Device or resource busy 2014-03-13 04:38:53.425980 7fb824b6f780 -1 librbd: removing snapshot from header failed: (16) Device or resource busy root@compute:/home/oss# ------------
How to delete the images ? Does restarting ceph services help ? Thanks Kumar
From: Jean-Charles Lopez [mailto:jc.lopez@xxxxxxxxxxx]
Hi Probably because you have snapshots mapped somewhere on a node or because you have cloned some images from snapshot which are protected to deploy VMs. JC
Hi Jean, Thanks a lot. I have the following images in ‘ images’ pool: -------- root@compute:/home/oss# rbd -p images ls 0c605116-0634-4aed-9b3f-12d9483cd38a 9f1a5bdc-3450-4934-99b3-d1b834ad9592 b16aac0e-621f-4f36-a027-39c86d28011f When I try deleting them I get this error: ----------
root@compute:/home/oss# rbd -p images rm 0c605116-0634-4aed-9b3f-12d9483cd38a 2014-03-13 04:28:19.455049 7f751275e780 -1 librbd: image has snapshots - not removing Removing image: 0% complete...failed. rbd: image has snapshots - these must be deleted with 'rbd snap purge' before the image can be removed. When I try deleting the snaps , I face the following error: --------
root@compute:/home/oss# rbd -p images snap purge 0c605116-0634-4aed-9b3f-12d9483cd38a Removing all snapshots: 0% complete...failed. rbd: removing snaps failed: (16) Device or resource busy 2014-03-13 04:31:39.512199 7f1ac4134780 -1 librbd: removing snapshot from header failed: (16) Device or resource busy How to delete the images ? Thanks Kumar From: Jean-Charles Lopez [mailto:jc.lopez@xxxxxxxxxxx]
Hi rbd -p <poolname> rm <imagename> e.g. rbd -p volumes rm volume-55abf0d4-01a7-41d0-9e7e-407ad0db213c JC Hi All, I have ceph installed on Ubuntu nodes. At present I have the following volumes in Volumes pool: ---------
root@compute:/home/oss# rbd -p volumes ls volume-53f0dc29-956f-48f1-8db1-b0f9c1b0e9f1 volume-55abf0d4-01a7-41d0-9e7e-407ad0db213c volume-a73d1bd0-2937-41c4-bbca-2545454eefac volume-bd45af55-489f-4d09-bc14-33229c1e3096 volume-cb11564f-7550-4e23-8197-4f8af09e506c volume-f3f67d69-8ac3-41a9-8001-4a2b512af933 What is the command to delete the above volumes ? Thanks Kumar
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com