On Thu, Jun 25, 2020 at 7:51 PM Void Star Nill <void.star.n...@gmail.com> wrote:
>
> Hello,
>
> Is there a way to list all locks held by a client with the given IP address?

Negative -- you would need to check every image since the locks are
tied to the image.

> Also, I read somewhere that removing the lock with "rbd lock rm..."
> automatically blacklists that client connection. Is that correct?

Yes, so long as you haven't changed the default setting of the
"rbd_blacklist_on_break_lock" configuration setting.

> How do I blacklist a client with the given IP address?

You can use "ceph osd blacklist add <ip address>".

> Thanks,
> Shridhar
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to