/srv/irclogs.ubuntu.com/2021/05/01/#ubuntu-server.txt

=== guillaumedsde018 is now known as guillaumedsde01
=== antoine8 is now known as antoine
=== edwardly_ is now known as edwardly
ForzaHello08:27
ForzaI have an issue with 20.04lts. During reboot systemd tries to unmount the filesystem used by targetclid before stopping targetclid.08:28
ForzaThen it doesn't try to unmount the filesystem again before rebooting/halting which leads to corruption08:28
MIFOk i have something talking up aton of space18:21
MIFbut I just can't find it18:21
MIFncdu dose not give me anything that helpful18:21
MIFdoes anyone have any tips, or other things I can try?18:23
rfmMIF, you are running ncdu as root?  otherwise it might not see into dirs you can't read18:50
MIFit is as root18:51
MIFthe only think I could find was the sys and kernal log18:51
MIFthe only think I could find was the sys and kernal logs18:51
MIFbut still my disk usesage is very high18:52
rfmMIF, you may have a unlinked-but-still-open file.  These can be a pain to run down.18:55
MIFhow do I check?18:55
rfmMIF, 'lsof { grep '(deleted)' " will show them18:56
rfmMIF, hmm, just tried it, lsof shows more useful info than it used to when I last had this problem years ago18:57
MIFthere is alot here18:57
MIFhttps://pastebin.com/RvUDUbSY18:58
MIFhttps://pastebin.com/raw/RvUDUbSY18:59
MIF^that view is better18:59
rfmMIF, those fail2ban logs are huge (actually suspiciously so, I wonder if lsof is misreporting)19:02
rfmMIF, no idea why f2b is keeping them open.  You could try stopping f2b (which will close the files held open by pid 1063) and see if the space comes back19:05
MIFok19:09
rfmMIF, hmm, it's just the same one file (inode 1313619) open many times, not multiple files at least19:10
MIFyep that worked19:10
MIFback to 37%19:10
MIFthanks rfm19:10
rfmMIF, this actually looks like a bug in fail2ban, might look into reporting it.  if it comes back, maybe look into setting up a periodic restart of f2b19:12
MIFok19:25
rfmMIF, might not be a but in fail2ban, this situation would arise if somebody saw the big log and rm'ed it but didn't restart fail2ban (could even be a log rotation service if you have one)19:25
MIFthat is what I did19:25
MIFI rm'd the log file19:25
MIFand did not restart fail2ban19:25
rfmMIF, ah! so all you need to do is remember to restart next time (might want to check into why f2b is writing so much to its log, perhaps you're getting really hammered by somebody trying to break in?)19:27
MIFno, I think I have it set to debug19:27

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!