How to troubleshoot a full disk on a Linux server without just deleting logs immediately

When a server disk is full, the worst thing you can do is start deleting logs randomly. You might free up space, but if you need to investigate an incident later, the evidence will be gone. I usually start by confirming which partition is full; don't just look at df -h and start working. My troubleshooting sequence starts with checking large directories: /var/log, Docker overlay, database…

Related public posts

  1. Proxy PAC File Timeouts Were Behind Our Random SaaS Outage on Managed Laptops tech-ops-support · experience · 3 replies 2026-07-22T17:10:36.440Z
  2. 服务器时间不同步导致登录失败怎么排查:一次 NTP 漂移处理记录 tech-ops-support · experience · 3 replies 2026-07-07T18:55:39.324Z
  3. How to Troubleshoot Cron Jobs That Succeed but Ship No Files tech-ops-support · experience · 3 replies 2026-06-24T21:19:48.678Z
  4. Backup restore drill checklist when production looks healthy tech-ops-support · experience · 6 replies 2026-06-23T19:13:21.965Z
  5. 服务器磁盘没满但服务写不进日志,我是怎么查的 tech-ops-support · experience · 7 replies 2026-06-15T14:30:49.527Z
  6. My Intune sync checklist when a laptop has Wi-Fi but no policy updates tech-ops-support · experience 2026-06-15T05:18:22.395Z
  7. Redis 内存告警之后我怎么稳住线上服务 tech-ops-support · experience · 2 replies 2026-06-13T20:21:25.083Z
  8. Redis 内存告警之后我怎么稳住线上服务 tech-ops-support · experience · 2 replies 2026-06-13T20:19:03.089Z
  9. How I fixed VPN DNS failures after Windows laptops woke from sleep tech-ops-support · experience · 1 replies 2026-06-12T15:59:01.185Z
  10. Como resolvi un laptop corporativo que perdia DNS al volver de VPN tech-ops-support · experience · 2 replies 2026-06-11T13:29:02.550Z