How to know which client hold the lock of a file
Hi, Anyone knows how to know which client hold lock of a file in Ceph fs? I met a dead lock problem that a client holding on get the lock, but I don't kown which client held it.
Hi, you can list all clients of an active MDS like this (within the container): ceph daemon mds.cephfs.ses7-host4.qvrwta session ls or list blocked operations with ceph daemon mds.cephfs.ses7-host4.qvrwta dump_blocked_ops There are a couple of other commands that could be useful, e.g. dump_historic_ops_by_duration. Did or does your cluster report stuck requests? Please provide more details if this doesn't help you resolve the issue. Regards, Eugen Zitat von "Norman.Kern" <norman.kern@gmx.com>:
Hi,
Anyone knows how to know which client hold lock of a file in Ceph fs?
I met a dead lock problem that a client holding on get the lock, but I don't kown which client held it. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Eugen Block
-
Norman.Kern