Re: find rbd locks by client IP

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

 



On Thu, Jun 25, 2020 at 7:51 PM Void Star Nill <void.star.nill@xxxxxxxxx> 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@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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