Re: [ceph-users] removing image of rbd mirroring
Thanks Jason, I will try to use your method. 2016-10-19 17:23 GMT-07:00 Jason Dillaman <jdill...@redhat.com>: > On Wed, Oct 19, 2016 at 6:52 PM, yan cui <ccuiy...@gmail.com> wrote: > > 2016-10-19 15:46:44.843053 7f35c9925d80 -1 librbd: cannot obtain > exclusive > > lock - not removing > > Are you attempting to delete the primary or non-primary image? I would > expect any attempts to delete the non-primary image to fail since the > non-primary image will automatically be deleted when mirroring is > disabled on the primary side (or the primary image is deleted). > > There was an issue where the rbd-mirror daemon would not release the > exclusive lock on the image after a forced promotion. The fix for that > will be included in the forthcoming 10.2.4 release. > > If it is neither of these scenarios, can you re-run the "rbd rm" > command with "--debug-rbd=20" option appended? > > Thanks, > > -- > Jason > -- 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
[ceph-users] removing image of rbd mirroring
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 -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
[ceph-users] ceph on two data centers far away
Hi Guys, Our company has a use case which needs the support of Ceph across two data centers (one data center is far away from the other). The experience of using one data center is good. We did some benchmarking on two data centers, and the performance is bad because of the synchronization feature in Ceph and large latency between data centers. So, are there setting ups like data center aware features in Ceph, so that we have good locality? Usually, we use rbd to create volume and snapshot. But we want the volume is high available with acceptable performance in case one data center is down. Our current setting ups does not consider data center difference. Any ideas? Thanks, Yan -- 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