Linux Error ENOSPC (errno 28) — No Space Left on Device Fix
Criticallinux errno
Overview
Linux errno 28 ENOSPC means the disk is full. No more data can be written until space is freed.
Key Details
- Error: ENOSPC (errno 28)
- Message: No space left on device
- Disk partition is at 100% capacity
- Affects all write operations on that partition
Common Causes
- Log files consumed all disk space
- Docker images filled the disk
- /tmp or /var partition is full
- Inodes exhausted (many small files)
Steps
- 1Check disk usage: df -h
- 2Find large files: du -sh /* | sort -rh | head -20
- 3Clean old logs: sudo journalctl --vacuum-time=3d
- 4Clean Docker: docker system prune -a
- 5Check inode usage: df -i
Tags
linuxlinux-errnolinux errno 28ubuntuterminal
More in Linux Errno
linux-errno-111Linux Error ECONNREFUSED (errno 111) Fix
Criticallinux-errno-110Linux Error ETIMEDOUT (errno 110) — Connection Timed Out Fix
Criticallinux-errno-24Linux Error EMFILE (errno 24) — Too Many Open Files Fix
Criticallinux-errno-104Linux Error ECONNRESET (errno 104) — Connection Reset Fix
Warninglinux-errno-14Linux Error EFAULT (errno 14) — Bad Address Fix
WarningFrequently Asked Questions
You may be out of inodes. Check with df -i.