How long have you waited? Watchers of objects in ceph time out after a while and you should be able to delete it. I'm talking around the range of 30 minutes, so it's likely this isn't the problem if you've been wrestling with it long enough to write in about.
I don't do much with rados objects directly. I usually use RBDs and cephfs. If you just need to clean things up, you can delete the pool and recreate it since it looks like it's testing. However this is probably a prime time to figure out how to get past this in case it happens in the future in production.
Hopefully someone that has more experience with manually creating and removing rados objects chimes in.
On Thu, Jun 8, 2017 at 11:04 AM Jan Kasprzak <kas@xxxxxxxxxx> wrote:
Hello,
I have created a RADOS striped object using
$ dd someargs | rados --pool testpool --striper put testfile -
and interrupted it in the middle of writing. Now I cannot remove this object:
$ rados --pool testpool --striper rm testfile
error removing testpool>testfile: (16) Device or resource busy
How can I tell CEPH that the writer is no longer around and does not come back,
so that I can remove the object "testfile"?
Thanks,
-Yenya
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| http://www.fi.muni.cz/~kas/ GPG: 4096R/A45477D5 |
> That's why this kind of vulnerability is a concern: deploying stuff is <
> often about collecting an obscene number of .jar files and pushing them <
> up to the application server. --pboddie at LWN <
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com