Re: RBD Mapping

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

 



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




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


  Powered by Linux