InfrastructureBeginnerPar time: 4:00

No Space Left on Device

The entire application stack just crashed. No space left on device.

The Scenario

A SaaS platform's primary server has run out of disk space. The database can't write, application logs are failing, and even SSH is barely working. You need to find what consumed all the disk space, clean it up safely without losing data, and prevent it from happening again.

What You'll Learn

1

Using df, du, and ncdu to diagnose disk space issues

2

Identifying log rotation failures and runaway file growth

3

Safely cleaning disk space on a production server

4

Setting up disk usage alerts and automatic cleanup policies

Tools You'll Use

dfduncdulsofSystem logs

Real-World Context

GitLab's famous 2017 outage started with disk space issues. Disk full errors are the 'check engine light' of infrastructure - simple to prevent, catastrophic to ignore.

Ready to debug this?

Free account required - sign up with GitHub or Google in 10 seconds

Play No Space Left on Device