Re: RBD Mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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."







Phone : +33 (0)1 49 70 99 72 – Mobile : +33 (0)6 52 84 44 70
Email : sebastien.han@xxxxxxxxxxxx – Skype : han.sbastien
Address : 10, rue de la Victoire – 75009 Paris
Web : www.enovance.com – Twitter : @enovance

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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux