Hi all,

   We setup rbd mirroring between 2 clusters, but have issues when we want
to delete one image. Following is the  detailed info.
It reports that some other instance is still using it, which kind of makes
sense because we set up the mirror between 2 clusters.
What's the best practice to remove a image which is under rbd mirroring?
By the way, we did a pool based rbd mirroring.

rbd --cluster iad rm <image name> -p mirror

2016-10-19 15:46:44.843053 7f35c9925d80 -1 librbd: cannot obtain exclusive
lock - not removing

Removing image: 0% complete...failed.

rbd: error: image still has watchers

This means the image is still open or the client using it crashed. Try
again after closing/unmapping it or waiting 30s for the crashed client to
timeout.
-- 
Think big; Dream impossible; Make it happen.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to