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.lo...@inktank.com] Sent: Thursday, March 13, 2014 12:37 PM To: Gnan Kumar, Yalla Cc: ceph-users@lists.ceph.com Subject: Re: [ceph-users] Remove volume Hi rbd -p <poolname> rm <imagename> e.g. rbd -p volumes rm volume-55abf0d4-01a7-41d0-9e7e-407ad0db213c http://ceph.com/docs JC On Wednesday, March 12, 2014, <yalla.gnan.ku...@accenture.com<mailto:yalla.gnan.ku...@accenture.com>> wrote: 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 ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com<http://www.accenture.com> -- Sent while moving Pardon my French and any spelling &| grammar glitches
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com