df says disk is full but du doesn't add up
df -h says 100% full on /, a 50G volume, but du -sh /* adds up to maybe 20G. Ubuntu 22.04, nothing obvious is large. I already checked /var/log and /tmp. A Java app writes a lot of logs and rotates them with logrotate, but the app might be holding an old file open. What's the command to find files that have been deleted but are still open?
4 replies