On Thu, Jun 25, 2020 at 7:51 PM Void Star Nill <[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to