<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>
<div> </div>
<div>i have a problem with my ocfs2 cluster filesystem. I have 3 nodes, running with CentOS 7.</div>
<div> </div>
<div>The cluster runs since 1 year without problems. Last week, one colleague deletes about 100.000 files on the Filesystem with "rm *" in some folders.</div>
<div>Since that, the kworker io is about -50-80% usage (iotop), also iostat have the same value.</div>
<div> </div>
<div>If i list all "fs_locks", i get about 190.000 entries:</div>
<div>echo "fs_locks" | debugfs.ocfs2 -n /dev/sdb | grep "Lockres" | wc -l</div>
<div> </div>
<div>That are too many locks?</div>
<div> </div>
<div>As example, i get the following output:</div>
<div>
<div>Lockres: M00000000000000062e723300000000 Mode: Exclusive<br/>
Flags: Initialized Attached<br/>
RO Holders: 0 EX Holders: 0<br/>
Pending Action: None Pending Unlock Action: None<br/>
Requested Mode: Exclusive Blocking Mode: Invalid<br/>
PR > Gets: 16 Fails: 0 Waits Total: 657us Max: 654us Avg: 41072ns<br/>
EX > Gets: 2 Fails: 0 Waits Total: 322us Max: 322us Avg: 161398ns<br/>
Disk Refreshes: 0</div>
<div> </div>
<div>If i try to get the filename, the command hangs and i never get some output:</div>
<div>echo "locate <M00000000000000062e723300000000>" | debugfs.ocfs2 -n /dev/sdb</div>
<div> </div>
<div>How can i solve this problem?</div>
<div> </div>
<div>Best regards,</div>
<div>Thomas Manninger</div>
</div></div></body></html>