Hi Greg,
Just tried the list watchers, on a rbd with the QEMU driver and I got:
root@ceph:~# rados -p volumes listwatchers rbd_header.789c2ae8944a watcher=client.30882 cookie=1
I also tried with the kernel module but didn't see anything…
No IP addresses anywhere… :/, any idea?
Nice tip btw :)
–––– Sébastien Han Cloud Engineer "Always give 100%. Unless you're giving blood."
On Jul 23, 2013, at 11:01 PM, Gregory Farnum < greg@xxxxxxxxxxx> wrote: On Tue, Jul 23, 2013 at 1:28 PM, Wido den Hollander <wido@xxxxxxxx> wrote:
On 07/23/2013 09:09 PM, Gaylord Holder wrote:
Is it possible to find out which machines are mapping and RBD?
No, that is stateless. You can use locking however, you can for example put the hostname of the machine in the lock.
But that's not mandatory in the protocol.
Maybe you are able to list watchers for a RBD drive, but I'm not sure about that.
You can. "rados listwatchers <object>" will tell you who's got watches registered, and that output should include IPs. You'll want to run it against the rbd head object. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com
-Gaylord _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-- Wido den Hollander 42on B.V.
Phone: +31 (0)20 700 9902 Skype: contact42on
_______________________________________________ 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
|
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com