Help centerLinux
My Linux VPS disk is full. How do I free up space?
1 min read|Updated Nov 21, 2026
Short answer
Run df -h to confirm, then du to find the folder that grew. It is almost always logs, Docker, package caches or backups. Shrink the journal with journalctl --vacuum-size=200M, run apt clean and prune unused Docker images.
- 01
Confirm it
df -h /shows the space used. If it's not full, checkdf -i /for inodes. - 02
Find the folder
du -xh --max-depth=1 / | sort -h, then the same inside the biggest folder. - 03
Free the usual suspects
journalctl --vacuum-size=200M,apt clean,docker image prune -a. Don't use--volumeson a server with databases. - 04
Restart what broke
systemctl --failedlists services that stopped, thensystemctl restarteach one.
Plans have 10, 20, 40 or 80 GB NVMe. If the space is real data you want to keep, order a plan with a bigger disk and move over; a running server can't be resized in place.
Did this solve it?
The full guide
Linux VPS Disk Full? Find and Free Space Safely
6 min read