A full disk can cause applications to crash and the system to become unstable.
Check Disk Usage
df -hFind Large Files
du -h --max-depth=1 / | sort -rh | head -20Common Culprits
- Log files:
du -sh /var/log— clean withjournalctl --vacuum-size=100M - Package cache:
apt cleanordnf clean all - Old kernels:
apt autoremove -y - Docker images:
docker system prune -a - Temp files:
rm -rf /tmp/*
Prevention
- Set up log rotation
- Monitor disk usage with alerts
- Clean up unused Docker images regularly